mirror of
https://github.com/overleaf/overleaf.git
synced 2024-10-31 21:21:03 -04:00
23dfe68cb8
ShareJS will accept an op where p > content.length when applied, and it applies as though p == content.length. However, the op is passed to us with the original p > content.length. Detect if that is the case with this op, and shift p back appropriately to match ShareJS if so. |
||
---|---|---|
.. | ||
DiffGenerator.coffee | ||
DiffManager.coffee | ||
DocArchiveManager.coffee | ||
DocstoreHandler.coffee | ||
DocumentUpdaterManager.coffee | ||
HttpController.coffee | ||
LockManager.coffee | ||
MongoAWS.coffee | ||
MongoAWSexternal.coffee | ||
mongojs.coffee | ||
MongoManager.coffee | ||
PackManager.coffee | ||
PackWorker.coffee | ||
RedisManager.coffee | ||
RestoreManager.coffee | ||
UpdateCompressor.coffee | ||
UpdatesManager.coffee | ||
UpdateTrimmer.coffee | ||
WebApiManager.coffee |