Index: trunk/extensions/VisualEditor/modules/es/models/es.DocumentModel.js |
— | — | @@ -133,7 +133,7 @@ |
134 | 134 | this.data.splice( this.cursor, op.data.length ); |
135 | 135 | // Update model tree |
136 | 136 | node.adjustContentLength( -op.data.length, true ); |
137 | | - node.emit( update, this.cursor ); |
| 137 | + node.emit( 'update', this.cursor ); |
138 | 138 | } |
139 | 139 | } |
140 | 140 | } |