This is supposed to be a event name, not a variable

This commit is contained in:
Inez Korczynski 2011-11-07 19:44:56 +00:00
parent 187eca34eb
commit 88e964263b

View file

@ -112,7 +112,7 @@ es.DocumentModel.operations = ( function() {
annotate.call( this, this.cursor + op.data.length );
// Update model tree
node.adjustContentLength( op.data.length, true );
node.emit( update, this.cursor );
node.emit( 'update', this.cursor );
}
}
this.cursor += op.data.length;