diff --git a/bower.json b/bower.json index ba6652d0f..1ff86e5d5 100644 --- a/bower.json +++ b/bower.json @@ -23,7 +23,7 @@ "!LICENSE.txt" ], "dependencies": { - "bem-core": "4.2.0" + "bem-core": "4.3.1" }, "devDependencies": { "bem-pr": "~0.13.0" diff --git a/common.blocks/checkbox/_type/checkbox_type_button.js b/common.blocks/checkbox/_type/checkbox_type_button.js index 16c65783f..c06cebef1 100644 --- a/common.blocks/checkbox/_type/checkbox_type_button.js +++ b/common.blocks/checkbox/_type/checkbox_type_button.js @@ -39,9 +39,7 @@ provide(Checkbox.declMod({ modName : 'type', modVal : 'button' }, /** @lends che } } }, /** @lends checkbox */{ - lazyInit : true, onInit : function() { - this._events(Button).on({ modName : 'js', modVal : 'inited' }, functions.noop); return this.__base.apply(this, arguments); } diff --git a/common.blocks/menu/__item/_type/menu__item_type_link.js b/common.blocks/menu/__item/_type/menu__item_type_link.js index 05f670a6a..53569b7c2 100644 --- a/common.blocks/menu/__item/_type/menu__item_type_link.js +++ b/common.blocks/menu/__item/_type/menu__item_type_link.js @@ -37,7 +37,6 @@ provide(MenuItem.declMod({ modName : 'type', modVal : 'link' }, /** @lends menu_ this.setMod('hovered'); } }, /** @lends menu__item */{ - lazyInit : true, onInit : function() { this._domEvents().on('focusin', this.prototype._onFocus); return this.__base.apply(this, arguments); diff --git a/common.blocks/popup/_autoclosable/popup_autoclosable.js b/common.blocks/popup/_autoclosable/popup_autoclosable.js index ea53a1e7d..3bda478f5 100644 --- a/common.blocks/popup/_autoclosable/popup_autoclosable.js +++ b/common.blocks/popup/_autoclosable/popup_autoclosable.js @@ -45,7 +45,6 @@ provide(Popup.declMod({ modName : 'autoclosable', modVal : true }, /** @lends po this.delMod('visible'); } }, /** @lends popup */{ - lazyInit : true, onInit : function() { // TODO: checkme! // this._domEvents(bemDom.doc).on(KEYDOWN_EVENT, onDocKeyPress); diff --git a/common.blocks/radio-group/_mode/radio-group_mode_radio-check.js b/common.blocks/radio-group/_mode/radio-group_mode_radio-check.js index 7e8d9217b..2f53a8bf6 100644 --- a/common.blocks/radio-group/_mode/radio-group_mode_radio-check.js +++ b/common.blocks/radio-group/_mode/radio-group_mode_radio-check.js @@ -16,7 +16,6 @@ provide(RadioGroup.declMod({ modName : 'mode', modVal : 'radio-check' }, /** @le this._checkedRadio === e.target && this.setVal(undef); } }, /** @lends radio-group */{ - lazyInit : true, onInit : function() { this._events(Radio).on( { modName : 'checked', modVal : '' }, diff --git a/common.blocks/radio/_type/radio_type_button.js b/common.blocks/radio/_type/radio_type_button.js index deaf1c1b8..2677467ea 100644 --- a/common.blocks/radio/_type/radio_type_button.js +++ b/common.blocks/radio/_type/radio_type_button.js @@ -34,7 +34,6 @@ provide(Radio.declMod({ modName : 'type', modVal : 'button' }, /** @lends radio. } } }, /** @lends radio */{ - lazyInit : true, onInit : function() { this._events(Button).on({ modName : 'js', modVal : 'inited' }, Functions.noop); return this.__base.apply(this, arguments); diff --git a/package.json b/package.json index d2c1ba9dd..a6cae6482 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ ], "dependencies": {}, "peerDependency": { - "bem-core": "^4.2.0" + "bem-core": "^4.3.1" }, "devDependencies": { "autoprefixer": "^6.4.0",