Created
October 9, 2014 21:24
-
-
Save endash/c83ff4851cdce76388cb to your computer and use it in GitHub Desktop.
This file contains hidden or 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
var BlankComponent = Ember.Component.extend(); | |
container.register('component:link-to', BlankComponent); | |
var view = Ember.View.createWithMixins({tempalte: Ember.Handlebars.compile('{{#link-li viewName="testComponent"}}{{#link-to viewName="linkToComponent"}}{{/link-to}}{/link-li}}')}); | |
view.get('testComponent') // link-li | |
view.get('testComponent.linkToComponent') // link-to |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment