diff --git a/src/model/document.js b/src/model/document.js index 3368f08bb..af56c2987 100644 --- a/src/model/document.js +++ b/src/model/document.js @@ -407,7 +407,7 @@ export default class Document { * console.log( 'The data has changed!' ); * } ); * - * If you would like to listen to all changes, then check the + * If you would like to listen to all document's changes, then look at the * {@link module:engine/model/document~Document#event:change change} event. * * @event change:data diff --git a/tests/model/document.js b/tests/model/document.js index 09af570cb..a1fc88f04 100644 --- a/tests/model/document.js +++ b/tests/model/document.js @@ -47,7 +47,7 @@ describe( 'Document', () => { baseVersion: 0, isDocumentOperation: true, _execute: sinon.stub().returns( data ), - _validate: () => { } + _validate: () => {} }; delta = new Delta(); @@ -89,7 +89,7 @@ describe( 'Document', () => { const operation = { baseVersion: 1, isDocumentOperation: true, - _execute: () => { } + _execute: () => {} }; expect(