@ember-data/model 4.0.0-beta.2 → 4.1.0-alpha.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/addon/-private/model.js +2 -2
- package/package.json +5 -5
package/addon/-private/model.js
CHANGED
|
@@ -78,7 +78,7 @@ function findPossibleInverses(type, inverseType, name, relationshipsSoFar) {
|
|
|
78
78
|
|
|
79
79
|
/*
|
|
80
80
|
* This decorator allows us to lazily compute
|
|
81
|
-
* an expensive getter on first-access and
|
|
81
|
+
* an expensive getter on first-access and thereafter
|
|
82
82
|
* never recompute it.
|
|
83
83
|
*/
|
|
84
84
|
function computeOnce(target, key, desc) {
|
|
@@ -1867,7 +1867,7 @@ class Model extends EmberObject {
|
|
|
1867
1867
|
|
|
1868
1868
|
```javascript
|
|
1869
1869
|
import { get } from '@ember/object';
|
|
1870
|
-
import
|
|
1870
|
+
import Person from 'app/models/person'
|
|
1871
1871
|
|
|
1872
1872
|
let attributes = Person.attributes
|
|
1873
1873
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ember-data/model",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.1.0-alpha.11",
|
|
4
4
|
"description": "The default blueprint for ember-cli addons.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ember-addon"
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
"test:node": "mocha"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@ember-data/canary-features": "4.
|
|
22
|
-
"@ember-data/private-build-infra": "4.
|
|
23
|
-
"@ember-data/store": "4.
|
|
21
|
+
"@ember-data/canary-features": "4.1.0-alpha.11",
|
|
22
|
+
"@ember-data/private-build-infra": "4.1.0-alpha.11",
|
|
23
|
+
"@ember-data/store": "4.1.0-alpha.11",
|
|
24
24
|
"@ember/edition-utils": "^1.2.0",
|
|
25
25
|
"@ember/string": "^3.0.0",
|
|
26
26
|
"ember-cached-decorator-polyfill": "^0.1.4",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"inflection": "~1.13.1"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"@ember-data/unpublished-test-infra": "4.
|
|
35
|
+
"@ember-data/unpublished-test-infra": "4.1.0-alpha.11",
|
|
36
36
|
"@ember/optional-features": "^2.0.0",
|
|
37
37
|
"@ember/test-helpers": "^2.2.5",
|
|
38
38
|
"broccoli-asset-rev": "^3.0.0",
|