Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

JavaScript Ember.js Routes and Templates Basic Routes and Templates

charles sancy
charles sancy
5,479 Points

Is this course no longer relevant?

I am trying to follow along locally and Ember no longer uses handlebars so I am getting Uncaught ReferenceError: EmberHandlebarsLoader is not defined. There seem to be no notes for a post Handlebar Ember. Is this course no longer relevant?

3 Answers

Some have replaced the EmberHandlebarsLoader.loadTemplates() line with

Blogger.PostsRoute = Ember.Route.extend();

and gotten it to work that way.

You can also create a workspace from the video page, then click File>>Download Workspace to save it to your system's download folder. The downloaded file (.zip) should have the same versions and folder structure used at the time the course was created.

Don't do the replacement I mentioned unless you are using a newer version of the libraries or it will not route the pages properly.

-Later...

jason chan
jason chan
31,008 Points

it works. I'll screenshot you. I'm using local host with python. Be very careful with typing in your javascript. I spelled louder instead of loader... LOLs

http://oi62.tinypic.com/2vsq5wn.jpg

jason chan
jason chan
31,008 Points

have python installed if your on windows or mac.

Then run the python -m http.server in CLI