8
0
Просмотр исходного кода

Tests: Update coverage in DomEmitterMixin tests.

Maciej Gołaszewski 8 лет назад
Родитель
Сommit
03c46103c7
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      packages/ckeditor5-utils/src/dom/emittermixin.js

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

@@ -51,7 +51,7 @@ const DomEmitterMixin = extend( {}, EmitterMixin, {
 	 *
 	 *
 	 * @method module:utils/dom/emittermixin~EmitterMixin#listenTo
 	 * @method module:utils/dom/emittermixin~EmitterMixin#listenTo
 	 */
 	 */
-	listenTo( emitter, event, callback, options = {} ) {
+	listenTo( emitter, event, callback, options ) {
 		// Check if emitter is an instance of DOM Node. If so, replace the argument with
 		// Check if emitter is an instance of DOM Node. If so, replace the argument with
 		// corresponding ProxyEmitter (or create one if not existing).
 		// corresponding ProxyEmitter (or create one if not existing).
 		if ( isDomNode( emitter ) ) {
 		if ( isDomNode( emitter ) ) {