mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-06-16 03:04:53 -04:00
some polish for a turd
This commit is contained in:
parent
946289c221
commit
bf93500214
1 changed files with 1 additions and 2 deletions
|
@ -1669,7 +1669,6 @@ var lastEvent = null; // This is just a temporary measure to ensure we don't sen
|
||||||
exports.prepareForWire = function (cs, pool) {
|
exports.prepareForWire = function (cs, pool) {
|
||||||
if(cs == lastEvent){
|
if(cs == lastEvent){
|
||||||
throw new Error("Not sending the same event twice...");
|
throw new Error("Not sending the same event twice...");
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
var newPool = new AttributePool();
|
var newPool = new AttributePool();
|
||||||
var newCs = exports.moveOpsToNewPool(cs, pool, newPool);
|
var newCs = exports.moveOpsToNewPool(cs, pool, newPool);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue