Skip to content

Instantly share code, notes, and snippets.

@davetapley
Created December 7, 2014 22:06
Show Gist options
  • Save davetapley/2d7c5403b110ec76374b to your computer and use it in GitHub Desktop.
Save davetapley/2d7c5403b110ec76374b to your computer and use it in GitHub Desktop.
Token {{id}}
{{debugger}}
{{view 'translation-list' contentBinding='translations'}}
import Ember from 'ember';
export default Ember.CollectionView.create({
//content: ['one', 'two'],
itemViewClass: Ember.View.extend({
template: Ember.Handlebars.compile("{{view.content}}")
})
});
@davetapley
Copy link
Author

If I comment in content: ['one', 'two'], then I see one and two rendered.
If I this.get('translations') in the debugger, I see an the array (with elements).
But when I try to pass translations in via contentBinding, I see nothing...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment