浏览代码

Fixed lint issues.

Maciej Bukowski 6 年之前
父节点
当前提交
3516b9f793

+ 2 - 1
packages/ckeditor5-engine/src/model/document.js

@@ -305,7 +305,8 @@ export default class Document {
 	}
 
 	/**
-	 * Returns whether there is a buffered change or if the selection has changed from the last `{@link module:engine/model/model~Model#enqueueChange `enqueueChange()` block}
+	 * Returns whether there is a buffered change or if the selection has changed from the last
+	 * {@link module:engine/model/model~Model#enqueueChange `enqueueChange()` block}
 	 * or {@link module:engine/model/model~Model#change `change()` block}.
 	 *
 	 * @protected

+ 2 - 3
packages/ckeditor5-engine/src/model/model.js

@@ -696,8 +696,6 @@ export default class Model {
 			const callbackReturnValue = this._pendingChanges[ 0 ].callback( this._currentWriter );
 			ret.push( callbackReturnValue );
 
-			this.document.callPostFixers
-
 			// Collect an information whether the model document has changed during from the last pending change callback.
 			hasModelDocumentChanged = hasModelDocumentChanged || this.document._hasDocumentChangedFromTheLastChangeBlock();
 
@@ -741,7 +739,8 @@ export default class Model {
 	 * @protected
 	 * @event _afterChanges
 	 * @param {Object} options
-	 * @param {Boolean} options.hasModelDocumentChanged A boolean indicates whether the model document has changed during the {@link module:engine/model/model~Model#change} blocks.
+	 * @param {Boolean} options.hasModelDocumentChanged A boolean indicates whether the model document has changed during the
+	 * {@link module:engine/model/model~Model#change} blocks.
 	 */
 
 	/**

+ 1 - 1
packages/ckeditor5-engine/tests/tickets/1653.js

@@ -30,5 +30,5 @@ describe( 'Bug ckeditor5-engine#1653', () => {
 
 				return editor.destroy();
 			} );
-	} )
+	} );
 } );