active-model-adapter
Advanced tools
Comparing version 2.1.0 to 2.1.1
@@ -6,13 +6,7 @@ import ActiveModelAdapter from "active-model-adapter"; | ||
name: 'active-model-adapter', | ||
initialize: function(app) { | ||
if (arguments.length === 1) { | ||
// support the old registration API | ||
app.register('adapter:-active-model', ActiveModelAdapter); | ||
app.register('serializer:-active-model', ActiveModelSerializer); | ||
} else { | ||
let registry = app; | ||
registry.register('adapter:-active-model', ActiveModelAdapter); | ||
registry.register('serializer:-active-model', ActiveModelSerializer); | ||
} | ||
initialize: function() { | ||
var application = arguments[1] || arguments[0]; | ||
application.register('adapter:-active-model', ActiveModelAdapter); | ||
application.register('serializer:-active-model', ActiveModelSerializer); | ||
} | ||
}; |
@@ -5,4 +5,8 @@ # Ember Data ActiveModel Adapter Changelog | ||
## 2.1.0 | ||
## 2.1.1 February 17, 2016 | ||
- Restore old initializer code from 2.0.3 | ||
## 2.1.0 February 17, 2016 | ||
- [#80](https://github.com/ember-data/active-model-adapter/pull/80) [bugfix] Allow relationships to not have the _id suffix | ||
@@ -9,0 +13,0 @@ - [#51](https://github.com/ember-data/active-model-adapter/pull/51) [bugfix] add tests around errors |
{ | ||
"name": "active-model-adapter", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"repository": "https://github.com/ember-data/active-model-adapter", | ||
@@ -5,0 +5,0 @@ "description": "The default blueprint for ember-cli addons.", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
40028
548