0
votes

I'm trying to get the ember-datastore running (https://github.com/emberjs/data) - but the initial call of

window.App.store = DS.Store.create
  revision: 3,
  adapter: DS.RESTAdapter.create({ bulkCommit: false }) 

already fails with an undefined-exception in:

DS.Transaction = Ember.Object.extend({
  init: function() {
   set(this, 'buckets', {
       clean:   Ember.Map.create(),

I have found some docs on the the Ember.Map (http://ember-apis.herokuapp.com/symbols/global.html), but it does not look like it's defined in the ember-namespace of the version I am using.

I'm using:

I built ember-data (using rake dist) and included it - does it expect any other version of ember than the one that comes with ember-rails?

1

1 Answers

0
votes

Ember.Map is available since commit 1296814. Are you using Ember.js version 0.9.5? There is an ember-latest.js available for download.