Obtaining Ember.js and Dependencies
TodoMVC has a few dependencies:
For this example, all of these resources should be stored in the folder
js/libs located in the same location as
index.html. Update your
index.html to load these files by placing
<script> tags just before your closing
</body> tag in the following order:
<!-- ... additional lines truncated for brevity ... --> <script src="js/libs/jquery-1.11.2.min.js"></script> <script src="js/libs/handlebars-v1.3.0.js"></script> <script src="js/libs/ember.js"></script> <script src="js/libs/ember-data.js"></script> </body> <!-- ... additional lines truncated for brevity ... -->
Reload your web browser to ensure that all files have been referenced correctly and no errors occur.
If you are using a package manager, such as bower, make sure to checkout the Getting Ember guide for info on other ways to get Ember.js (this guide is dependant on ember-data v1.0 or greater so please be sure to use the latest beta/).