Open stefanozanella opened 12 years ago
When opening the application in Firefox 11.0, nothing is showed. An error is reported instead:
Timestamp: 3/23/12 2:02:08 PM Error: uncaught exception: Error: <Ember.View:ember172> - Unable to find template "main".
I got this same issue when specifying templates in HTML via script tag. To solve the problem I wrapped all the app code into $(function(){ }), so to have the Ember application being "launched" after DOM is parsed.
When opening the application in Firefox 11.0, nothing is showed. An error is reported instead:
I got this same issue when specifying templates in HTML via script tag. To solve the problem I wrapped all the app code into $(function(){ }), so to have the Ember application being "launched" after DOM is parsed.