user2192333
user2192333

Reputation: 139

ember.js - Can't get ember example working in jsFiddle

Could someone help me to get this http://jsfiddle.net/FLxgH/6/ working?

It works on my computer where I've been using local versions of the libs handlebars.js, ember.js and ember-data.js (downloaded from ember.js - starter pack).

I thought I had found online-equivelants (see External Resources) but it stops the application working when I try and use those references locally, and is possibly the reason why the jsFiddle doesnt work, too.

Locally I get: "Uncaught TypeError: Object function ..." on ember-latest-min.js:11

These are the references I am using:

<script src="http://cdnjs.cloudflare.com/ajax/libs/handlebars.js/1.0.0/handlebars.min.js"></script>
<script src="http://cdnjs.cloudflare.com/ajax/libs/ember.js/1.0.0-rc.6/ember.min.js"></script>
<script src="http://cdnjs.cloudflare.com/ajax/libs/ember-data.js/0.8.0-latest20121123/ember-data-latest.min.js"></script>

Upvotes: 0

Views: 629

Answers (1)

intuitivepixel
intuitivepixel

Reputation: 23322

I've updated your jsfiddle, see here. Now it's working.

This are the resources that work well togheter.

<script src="http://builds.emberjs.com/handlebars-1.0.0.js"></script>
<script src="http://builds.emberjs.com/ember-latest.js"></script>
<script src="http://builds.emberjs.com/ember-data-latest.js"></script>

Upvotes: 1

Related Questions