Skip to content

Commit 5840920

Browse files
authored
i-bem: fix on/un for use with "use strict"
1 parent 5dc95cf commit 5840920

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

common.blocks/i-bem/i-bem.vanilla.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ var BEM = inherit(events.Emitter, /** @lends BEM.prototype */ {
198198
e = this.__self._buildModEventName(e);
199199
}
200200

201-
return this.__base.apply(this, arguments);
201+
return this.__base(e, data, fn, ctx);
202202
},
203203

204204
/**
@@ -213,7 +213,7 @@ var BEM = inherit(events.Emitter, /** @lends BEM.prototype */ {
213213
e = this.__self._buildModEventName(e);
214214
}
215215

216-
return this.__base.apply(this, arguments);
216+
return this.__base(e, fn, ctx);
217217
},
218218

219219
/**
@@ -700,7 +700,7 @@ var BEM = inherit(events.Emitter, /** @lends BEM.prototype */ {
700700
e = this._buildModEventName(e);
701701
}
702702

703-
return this.__base.apply(this, arguments);
703+
return this.__base(e, data, fn, ctx);
704704
},
705705

706706
/**
@@ -715,7 +715,7 @@ var BEM = inherit(events.Emitter, /** @lends BEM.prototype */ {
715715
e = this._buildModEventName(e);
716716
}
717717

718-
return this.__base.apply(this, arguments);
718+
return this.__base(e, fn, ctx);
719719
},
720720

721721
_buildModEventName : function(modEvent) {

0 commit comments

Comments
 (0)