Explorar el Código

Docs: fixed links.

Maciek hace 9 años
padre
commit
d08ce68ba0

+ 1 - 1
packages/ckeditor5-utils/src/collection.js

@@ -208,7 +208,7 @@ export default class Collection {
 	 * Executes the callback for each item in the collection and composes an array or values returned by this callback.
 	 *
 	 * @param {Function} callback
-	 * @param {Item} callback.item
+	 * @param {Object} callback.item
 	 * @param {Number} callback.index
 	 * @params {Object} ctx Context in which the `callback` will be called.
 	 * @returns {Array} The result of mapping.

+ 1 - 1
packages/ckeditor5-utils/src/locale.js

@@ -26,7 +26,7 @@ export default class Locale {
 		this.lang = lang || 'en';
 
 		/**
-		 * Translates the given string to the {@link #lang}. This method is also availble in {@link Editor#t} and
+		 * Translates the given string to the {@link #lang}. This method is also availble in {@link module:core/editor~Editor#t} and
 		 * {@link module:ui/view~View#t}.
 		 *
 		 * The strings may contain placeholders (`%<index>`) for values which are passed as the second argument.

+ 1 - 1
packages/ckeditor5-utils/src/observablemixin.js

@@ -31,7 +31,7 @@ const ObservableMixin = {
 	 *
 	 * It accepts also a single object literal containing key/value pairs with attributes to be set.
 	 *
-	 * This method throws the {@link observable-set-cannot-override} error if the observable instance already
+	 * This method throws the observable-set-cannot-override error if the observable instance already
 	 * have a property with a given attribute name. This prevents from mistakenly overriding existing
 	 * properties and methods, but means that `foo.set( 'bar', 1 )` may be slightly slower than `foo.bar = 1`.
 	 *