From c960b4bb1618a9f055d7172d22eb58f362c01a33 Mon Sep 17 00:00:00 2001 From: Sergey Belozyorcev Date: Wed, 19 Dec 2018 21:19:11 +0300 Subject: [PATCH] i-bem: fix on/un for use in strict mode --- common.blocks/i-bem/i-bem.vanilla.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/common.blocks/i-bem/i-bem.vanilla.js b/common.blocks/i-bem/i-bem.vanilla.js index a949cafb8..2c8aa1b21 100644 --- a/common.blocks/i-bem/i-bem.vanilla.js +++ b/common.blocks/i-bem/i-bem.vanilla.js @@ -198,7 +198,7 @@ var BEM = inherit(events.Emitter, /** @lends BEM.prototype */ { e = this.__self._buildModEventName(e); } - return this.__base.apply(this, arguments); + return this.__base(e, data, fn, ctx); }, /** @@ -213,7 +213,7 @@ var BEM = inherit(events.Emitter, /** @lends BEM.prototype */ { e = this.__self._buildModEventName(e); } - return this.__base.apply(this, arguments); + return this.__base(e, fn, ctx); }, /** @@ -700,7 +700,7 @@ var BEM = inherit(events.Emitter, /** @lends BEM.prototype */ { e = this._buildModEventName(e); } - return this.__base.apply(this, arguments); + return this.__base(e, data, fn, ctx); }, /** @@ -715,7 +715,7 @@ var BEM = inherit(events.Emitter, /** @lends BEM.prototype */ { e = this._buildModEventName(e); } - return this.__base.apply(this, arguments); + return this.__base(e, fn, ctx); }, _buildModEventName : function(modEvent) {