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 Challenge: Basic Routes and Templates

How to preview the Ember.js blog example? Has jquery 1.11.1 been deprecated?

I have been working on the Ember.js exercise, but can't preview the example. Even when I open the completed workspace from treehouse and preview that, I get the console error message that jquery 1.11.1 has been deprecated. Here is a link to the workspace I used.

my workspace

js/app.js
AnimalShelter = Ember.Application.create();

AnimalShelter.Router.map(function() {
  this.resouce('kittens');

});
index.html
<!DOCTYPE html>
<html>
<head>
  <title>Animal Shelter</title>
</head>
<body>
  <script src="js/libs/jquery-1.10.2.js"></script>
  <script src="js/libs/handlebars-v1.3.0.js"></script>
  <script src="js/libs/ember-1.8.1.js"></script>
  <script src="js/app.js"></script>

  <script type="text/x-handlebars">
    <p>We have so many cute puppies!</p>
  </script>

</body>
</html>
peyton caseria
peyton caseria
Courses Plus Student 12,281 Points

Well, I went ahead and fixed that link for now. People are commonly messing them up, I noticed before testing anything a mistyped word this.resouce should be this.resource.

1 Answer

Ok Thanks for your help.