From d92e4b24ea4290089423ce435ebff66700a046da Mon Sep 17 00:00:00 2001 From: Maciej Bukowski Date: Wed, 13 Jun 2018 10:54:43 +0200 Subject: [PATCH] Docs improvements. --- src/model/document.js | 2 +- tests/model/document.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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(