Piotrek Koszuliński 9 роки тому
батько
коміт
b64a04d347

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

@@ -296,7 +296,7 @@ const EmitterMixin = {
 	 *		emitterA.fire( 'eventY', data );
 	 *
 	 * @method utils.EmitterMixin#delegate
-	 * @param {String...} events Event names that will be delegated to another emitter.
+	 * @param {...String} events Event names that will be delegated to another emitter.
 	 * @returns {utils.EmitterMixin.delegate#to}
 	 */
 	delegate( ...events ) {

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

@@ -107,7 +107,7 @@ const ObservableMixin = {
 	 *		A.bind( 'a' ).to( B, 'b', C, 'd', ( b, d ) => b + d );
 	 *
 	 * @method utils.ObservableMixin#bind
-	 * @param {String...} bindAttrs Observable attributes that will be bound to another observable(s).
+	 * @param {...String} bindAttrs Observable attributes that will be bound to another observable(s).
 	 * @returns {utils.BindChain}
 	 */
 	bind( ...bindAttrs ) {
@@ -188,7 +188,7 @@ const ObservableMixin = {
 	 *		A.unbind();
 	 *
 	 * @method utils.ObservableMixin#unbind
-	 * @param {String} [unbindAttrs] Observable attributes to be unbound. All the bindings will
+	 * @param {...String} [unbindAttrs] Observable attributes to be unbound. All the bindings will
 	 * be released if no attributes provided.
 	 */
 	unbind( ...unbindAttrs ) {