Преглед на файлове

We decided not to use "op", because it may be unclear.

Piotr Jasiun преди 10 години
родител
ревизия
318290bee3
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      packages/ckeditor5-engine/src/document/document.js

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

@@ -59,11 +59,11 @@ CKEDITOR.define( [
 				 * Only operations with matching versions can be applied.
 				 *
 				 * @error document-applyOperation-wrong-version
-				 * @param {document.operation.Operation} op
+				 * @param {document.operation.Operation} operation
 				 */
 				throw new CKEditorError(
 					'document-applyOperation-wrong-version: Only operations with matching versions can be applied.',
-					{ op: operation } );
+					{ operation: operation } );
 			}
 
 			operation._execute();