Explorar el Código

Minor corrections.

Piotrek Koszuliński hace 9 años
padre
commit
06109fa48b

+ 3 - 1
packages/ckeditor5-engine/src/treemodel/operation/moveoperation.js

@@ -61,6 +61,8 @@ export default class MoveOperation extends Operation {
 		 *		     ^          ^
 		 *		     targetPos	movedRangeStart
 		 *		     offset 6	offset 4
+		 *
+		 * @member {engine.treeModel.Position} engine.treeModel.operation.MoveOperation#movedRangeStart
 		 */
 		this.movedRangeStart = this.targetPosition.getTransformedByDeletion( this.sourcePosition, this.howMany );
 
@@ -70,7 +72,7 @@ export default class MoveOperation extends Operation {
 		 * inserts some nodes at the position equal to the boundary of this `MoveOperation`, that operation will
 		 * get their insertion path updated to the position where this `MoveOperation` moves the range.
 		 *
-		 * @type {Boolean}
+		 * @member {Boolean} engine.treeModel.operation.MoveOperation#isSticky
 		 */
 		this.isSticky = false;
 	}

+ 1 - 1
packages/ckeditor5-engine/tests/treemodel/schema/schema.js

@@ -318,7 +318,7 @@ describe( 'check', () => {
 	} );
 } );
 
-describe( 'normalizeQueryPath', () => {
+describe( '_normalizeQueryPath', () => {
 	it( 'should normalize string with spaces to an array of strings', () => {
 		expect( Schema._normalizeQueryPath( '$root div strong' ) ).to.deep.equal( [ '$root', 'div', 'strong' ] );
 	} );