Created
July 26, 2016 12:10
-
-
Save philipusis/cdd9ed4caeb7891db8ba1c9f668bc0bc 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('userpick', ['i-bem__dom'], function(provide, BEMDOM) { | |
provide(BEMDOM.decl(this.name, | |
{ | |
onSetMod: { | |
'js': { | |
'inited': function() { | |
this.bindTo('click', function(e) { | |
e.preventDefault(); | |
console.log('click'); | |
}); | |
} | |
} | |
} | |
}) | |
); | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment