Skip to content

Commit 5939780

Browse files
committed
Get rid of lazyInit in declMod
1 parent 37a7f2d commit 5939780

File tree

5 files changed

+0
-6
lines changed

5 files changed

+0
-6
lines changed

common.blocks/checkbox/_type/checkbox_type_button.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,7 @@ provide(Checkbox.declMod({ modName : 'type', modVal : 'button' }, /** @lends che
3939
}
4040
}
4141
}, /** @lends checkbox */{
42-
lazyInit : true,
4342
onInit : function() {
44-
4543
this._events(Button).on({ modName : 'js', modVal : 'inited' }, functions.noop);
4644
return this.__base.apply(this, arguments);
4745
}

common.blocks/menu/__item/_type/menu__item_type_link.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ provide(MenuItem.declMod({ modName : 'type', modVal : 'link' }, /** @lends menu_
3737
this.setMod('hovered');
3838
}
3939
}, /** @lends menu__item */{
40-
lazyInit : true,
4140
onInit : function() {
4241
this._domEvents().on('focusin', this.prototype._onFocus);
4342
return this.__base.apply(this, arguments);

common.blocks/popup/_autoclosable/popup_autoclosable.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ provide(Popup.declMod({ modName : 'autoclosable', modVal : true }, /** @lends po
4545
this.delMod('visible');
4646
}
4747
}, /** @lends popup */{
48-
lazyInit : true,
4948
onInit : function() {
5049
// TODO: checkme!
5150
// this._domEvents(bemDom.doc).on(KEYDOWN_EVENT, onDocKeyPress);

common.blocks/radio-group/_mode/radio-group_mode_radio-check.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ provide(RadioGroup.declMod({ modName : 'mode', modVal : 'radio-check' }, /** @le
1616
this._checkedRadio === e.target && this.setVal(undef);
1717
}
1818
}, /** @lends radio-group */{
19-
lazyInit : true,
2019
onInit : function() {
2120
this._events(Radio).on(
2221
{ modName : 'checked', modVal : '' },

common.blocks/radio/_type/radio_type_button.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ provide(Radio.declMod({ modName : 'type', modVal : 'button' }, /** @lends radio.
3434
}
3535
}
3636
}, /** @lends radio */{
37-
lazyInit : true,
3837
onInit : function() {
3938
this._events(Button).on({ modName : 'js', modVal : 'inited' }, Functions.noop);
4039
return this.__base.apply(this, arguments);

0 commit comments

Comments
 (0)