Last active
August 29, 2015 14:24
-
-
Save stefanpenner/ffc27c280d9de174e09b to your computer and use it in GitHub Desktop.
component-less-helpers
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
export default Ember.Controller.extend({ | |
actions: { | |
changed(val) { | |
this.set('currentValue', val); | |
console.log(val); | |
} | |
} | |
}); |
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
export default function equalHelper(params) { | |
return params[0] === params[1]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment