8
0
فهرست منبع

Minor API docs fixes.

Piotrek Koszuliński 8 سال پیش
والد
کامیت
4c16225d80

+ 1 - 1
packages/ckeditor5-engine/src/model/history.js

@@ -129,7 +129,7 @@ export default class History {
 	}
 
 	/**
-	 * Checks whether given `delta` is undoing any other delta.
+	 * Checks whether given `delta` is undoing by any other delta.
 	 *
 	 * @param {module:engine/model/delta/delta~Delta} delta Delta to check.
 	 * @returns {Boolean} `true` if given `delta` is undoing any other delta, `false` otherwise.

+ 1 - 1
packages/ckeditor5-engine/src/model/liverange.js

@@ -77,7 +77,7 @@ export default class LiveRange extends Range {
 	 */
 
 	/**
-	 * Fired when `LiveRange` instance is changed due to changes on {@link module:engine/model/document~Document}.
+	 * Fired when `LiveRange` instance is changed due to changes in the {@link module:engine/model/document~Document document}.
 	 *
 	 * @event change
 	 * @param {module:engine/model/range~Range} oldRange Range with start and end position equal to start and end position of this live

+ 0 - 1
packages/ckeditor5-engine/src/model/operation/transform.js

@@ -53,7 +53,6 @@ import compareArrays from '@ckeditor/ckeditor5-utils/src/comparearrays';
  * `a` by `b` and also `b` by `a`. In both transformations the same operation has to be the important one. If we assume
  * that first or the second passed operation is always more important we won't be able to solve this case.
  *
- * @protected
  * @function module:engine/model/operation/transform~transform
  * @param {module:engine/model/operation/operation~Operation} a Operation that will be transformed.
  * @param {module:engine/model/operation/operation~Operation} b Operation to transform by.

+ 5 - 5
packages/ckeditor5-engine/src/model/range.js

@@ -58,8 +58,8 @@ export default class Range {
 	}
 
 	/**
-	 * Returns whether the range is collapsed, that is if {@link #start start} and
-	 * {@link #end end} positions are equal.
+	 * Returns whether the range is collapsed, that is if {@link #start} and
+	 * {@link #end} positions are equal.
 	 *
 	 * @type {Boolean}
 	 */
@@ -68,8 +68,8 @@ export default class Range {
 	}
 
 	/**
-	 * Returns whether this range is flat, that is if {@link #start start} position and
-	 * {@link #end end} position are in the same {@link module:engine/model/position~Position#parent parent}.
+	 * Returns whether this range is flat, that is if {@link #start} position and
+	 * {@link #end} position are in the same {@link module:engine/model/position~Position#parent}.
 	 *
 	 * @type {Boolean}
 	 */
@@ -118,7 +118,7 @@ export default class Range {
 	}
 
 	/**
-	 * Two ranges are equal if their {@link #start start} and {@link #end end} positions are equal.
+	 * Two ranges are equal if their {@link #start} and {@link #end} positions are equal.
 	 *
 	 * @param {module:engine/model/range~Range} otherRange Range to compare with.
 	 * @returns {Boolean} `true` if ranges are equal, `false` otherwise.