Created
October 31, 2015 14:50
-
-
Save NetguruGist/5a9237bd1821ac3fc544 to your computer and use it in GitHub Desktop.
runloop4.3 ruby
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
this._select = this.$().select2(options); | |
// run ember bindings on after select2 `change` event | |
this._select.on("change", run.bind(this, function() { | |
var data = this._select.select2("data"); | |
this.selectionChanged(data); | |
})); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment