Skip to content

Instantly share code, notes, and snippets.

@schmidp
Created February 1, 2013 17:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save schmidp/4692667 to your computer and use it in GitHub Desktop.
Save schmidp/4692667 to your computer and use it in GitHub Desktop.
Reader.DocumentView = Ember.View.extend({
didInsertElement: function() {
console.log("did insert DocumentView");
this._super();
},
});
Reader.DocumentReaderView = Ember.View.extend({
didInsertElement: function() {
console.log("did insert DocumentReaderView");
this._super();
},
});
####### document.handlebars tempalte #######
Hello from document.handlebars
{{ view Reader.DocumentReaderView }}
####### document_reader.handlebars tempalte #######
Hello from document_reader.handlebars
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment