Przeglądaj źródła

Fixed API docs.

Maciej Bukowski 5 lat temu
rodzic
commit
eaef0c33dd

+ 1 - 1
packages/ckeditor5-watchdog/src/contextwatchdog.js

@@ -194,7 +194,7 @@ export default class ContextWatchdog extends Watchdog {
 	}
 
 	/**
-	 * Adds items to the watchdog. Once created, instances of these items will be available using the {@link #get} method.
+	 * Adds items to the watchdog. Once created, instances of these items will be available using the {@link #getItem} method.
 	 *
 	 * Items can be passed together as an array of objects:
 	 *

+ 1 - 1
packages/ckeditor5-watchdog/src/watchdog.js

@@ -216,7 +216,7 @@ export default class Watchdog {
 	 *
 	 * @protected
 	 * @param {String} eventName Event name.
-	 * @param  {...any} args Event arguments.
+	 * @param  {...*} args Event arguments.
 	 */
 	_fire( eventName, ...args ) {
 		const callbacks = this._listeners[ eventName ] || [];