Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save philipusis/6948008e9f3242f8ecefe17140b6e6d7 to your computer and use it in GitHub Desktop.
Save philipusis/6948008e9f3242f8ecefe17140b6e6d7 to your computer and use it in GitHub Desktop.
modules.define('link', ['i-bem__dom'], function(provide, BEMDOM) {
provide(BEMDOM.decl(this.name, {}))
})
modules.define('link', ['i-bem__dom'], function(provide, ABlock) {
provide(ABlock.decl(
{ modName: 'showHideSettings', modVal: true },
{
onSetMod: {
'js': {
'inited': function() {
alert('init');
}
}
}
}
))
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment