Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow overwrite for deprecated adapters #3370

Merged

Conversation

tricknotes
Copy link
Member

Currently, the following assignment is ignored.

DS.ActiveModelAdapter = null;
Ember.typeOf(DS.ActiveModelAdapter); //=> 'class'

To fix this issue, set function is required for Ember.defineProperty.

Should this commit be backport to 1.13.x release?

Currently, the following assignment is ignored.
``` js
DS.ActiveModelAdapter = null;
Ember.typeOf(DS.ActiveModelAdapter); //=> 'class'
```

To fix this issue, `set` function is required for `Ember.defineProperty`.
@bmac
Copy link
Member

bmac commented Jun 17, 2015

Should this commit be backport to 1.13.x release?

Yes. I think it should.

fivetanley added a commit that referenced this pull request Jun 18, 2015
…dapters

Allow overwrite for deprecated adapters
@fivetanley fivetanley merged commit 6571fdf into emberjs:master Jun 18, 2015
@tricknotes tricknotes deleted the allow-overwrite-deprecated-adapters branch June 18, 2015 02:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants