Last active
August 29, 2015 14:08
-
-
Save machty/7c250dbc0e7584dc32e6 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
import FooComponent from 'foo'; | |
function funHelper(value, options) { | |
return value + "!!!"; | |
} | |
var foo = "yes"; | |
export default Ember.Component.extend({ | |
bar: 123, | |
layout: ( | |
<div> | |
Use closed-over stuff above: | |
{{funHelper wat}} | |
{{foo}} | |
{{#FooComponent}}{{/FooComponent}} | |
<FooComponent></FooComponent> | |
Use context: | |
{{bar}} | |
{{anything}}{{that}}{{is}}{{not}}{{closed}}{{over}} | |
</div> | |
) | |
}); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment