Created
March 29, 2017 20:58
-
-
Save philipusis/988bf9c569102465c8bdbba32c0f079d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
modules.define('attach', ['i-bem-dom', 'button'], function(provide, bemDom, Button) { | |
provide(bemDom.declBlock(this.name, { | |
onSetMod: { | |
'js': { | |
'inited' : function(modName, modVal) { | |
this._button = this.findChildBlock(Button); | |
} | |
} | |
} | |
})); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment