ember-data-source 2.14.4 → 2.14.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5a129340c781e39864cc9799880dc33eba7d823d
4
- data.tar.gz: 4c1b0f134edf07f46d37f266fe9c3c01a8ceb4df
3
+ metadata.gz: 2bc88bf0a8f18b3422e2d2efc386b15076481ea9
4
+ data.tar.gz: f524305b6edb55a3ab440bfc5458c3b028fb16e8
5
5
  SHA512:
6
- metadata.gz: 542666df6ca96afbf7b3d8ff1958ffccb87bbad18df72b7bcfb4c5437abf7ee3022eedd6e9e00c98dcbf2789f144563474248ba6d0bedd2bcb9fd8d005072197
7
- data.tar.gz: 96c3db5d60ca76c1e84a89d9902b654c1f51f4bc1eca54e29dec1ccc71f5524979c473dc6616b89a7ef027348ac45dbba8ac86dfdf4cd73be1d737424db3bb95
6
+ metadata.gz: 8bfc33385f2f4e6850be94e56d06bcceb298b416289cbfcfef193b8f0790e89184041443b4c64a2c1a871d78b7130c936bc344c49bdf55d7fd04ce08c3ca2a26
7
+ data.tar.gz: d086780a1dbfaee818894faba5477ba5dcd1cc804c0ff483fbf4c74b9db55657a3dc5af14018f8ea68ee07f90844c1016a41d2d66bf6ff104829429949ef2d97
@@ -6,7 +6,7 @@
6
6
  * @copyright Copyright 2011-2017 Tilde Inc. and contributors.
7
7
  * Portions Copyright 2011 LivingSocial Inc.
8
8
  * @license Licensed under MIT license (see license.js)
9
- * @version 2.14.4
9
+ * @version 2.14.7
10
10
  */
11
11
 
12
12
  var loader, define, requireModule, require, requirejs;
@@ -3047,17 +3047,11 @@ define('ember-data/-private/system/model/internal-model', ['exports', 'ember', '
3047
3047
  };
3048
3048
 
3049
3049
  InternalModel.prototype._directlyRelatedInternalModels = function _directlyRelatedInternalModels() {
3050
- var _this = this;
3051
-
3052
3050
  var array = [];
3053
- this.type.eachRelationship(function (key, relationship) {
3054
- if (_this._relationships.has(key)) {
3055
- var _relationship = _this._relationships.get(key);
3056
- var localRelationships = _relationship.members.toArray();
3057
- var serverRelationships = _relationship.canonicalMembers.toArray();
3058
-
3059
- array = array.concat(localRelationships, serverRelationships);
3060
- }
3051
+ this._relationships.forEach(function (name, rel) {
3052
+ var local = rel.members.toArray();
3053
+ var server = rel.canonicalMembers.toArray();
3054
+ array = array.concat(local, server);
3061
3055
  });
3062
3056
  return array;
3063
3057
  };
@@ -3087,6 +3081,7 @@ define('ember-data/-private/system/model/internal-model', ['exports', 'ember', '
3087
3081
  InternalModel.prototype.unloadRecord = function unloadRecord() {
3088
3082
  this.send('unloadRecord');
3089
3083
  this.dematerializeRecord();
3084
+
3090
3085
  if (this._scheduledDestroy === null) {
3091
3086
  this._scheduledDestroy = run.schedule('destroy', this, '_checkForOrphanedInternalModels');
3092
3087
  }
@@ -3130,6 +3125,11 @@ define('ember-data/-private/system/model/internal-model', ['exports', 'ember', '
3130
3125
  (0, _debug.assert)("Cannot destroy an internalModel while its record is materialized", !this._record || this._record.get('isDestroyed') || this._record.get('isDestroying'));
3131
3126
 
3132
3127
  this.store._internalModelDestroyed(this);
3128
+
3129
+ this._relationships.forEach(function (name, rel) {
3130
+ return rel.destroy();
3131
+ });
3132
+
3133
3133
  this._isDestroyed = true;
3134
3134
  };
3135
3135
 
@@ -3258,12 +3258,6 @@ define('ember-data/-private/system/model/internal-model', ['exports', 'ember', '
3258
3258
  }
3259
3259
  };
3260
3260
 
3261
- InternalModel.prototype.notifyHasManyRemoved = function notifyHasManyRemoved(key, record, idx) {
3262
- if (this.hasRecord) {
3263
- this._record.notifyHasManyRemoved(key, record, idx);
3264
- }
3265
- };
3266
-
3267
3261
  InternalModel.prototype.notifyBelongsToChanged = function notifyBelongsToChanged(key, record) {
3268
3262
  if (this.hasRecord) {
3269
3263
  this._record.notifyBelongsToChanged(key, record);
@@ -3297,7 +3291,7 @@ define('ember-data/-private/system/model/internal-model', ['exports', 'ember', '
3297
3291
  }
3298
3292
 
3299
3293
  if (this.isNew()) {
3300
- this.clearRelationships();
3294
+ this.removeFromInverseRelationships(true);
3301
3295
  }
3302
3296
 
3303
3297
  if (this.isValid()) {
@@ -3413,47 +3407,68 @@ define('ember-data/-private/system/model/internal-model', ['exports', 'ember', '
3413
3407
  triggers.length = 0;
3414
3408
  };
3415
3409
 
3416
- InternalModel.prototype.clearRelationships = function clearRelationships() {
3417
- var _this2 = this;
3410
+ InternalModel.prototype.removeFromInverseRelationships = function removeFromInverseRelationships() {
3411
+ var isNew = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
3418
3412
 
3419
- this.eachRelationship(function (name, relationship) {
3420
- if (_this2._relationships.has(name)) {
3421
- var rel = _this2._relationships.get(name);
3413
+ this._relationships.forEach(function (name, rel) {
3414
+ rel.removeCompletelyFromInverse();
3415
+ if (isNew === true) {
3422
3416
  rel.clear();
3423
- rel.removeInverseRelationships();
3424
3417
  }
3425
3418
  });
3426
- Object.keys(this._implicitRelationships).forEach(function (key) {
3427
- _this2._implicitRelationships[key].clear();
3428
- _this2._implicitRelationships[key].removeInverseRelationships();
3419
+
3420
+ var implicitRelationships = this._implicitRelationships;
3421
+ this.__implicitRelationships = null;
3422
+
3423
+ Object.keys(implicitRelationships).forEach(function (key) {
3424
+ var rel = implicitRelationships[key];
3425
+
3426
+ rel.removeCompletelyFromInverse();
3427
+ if (isNew === true) {
3428
+ rel.clear();
3429
+ }
3429
3430
  });
3430
3431
  };
3431
3432
 
3432
3433
  InternalModel.prototype.destroyRelationships = function destroyRelationships() {
3433
- var _this3 = this;
3434
+ var _this = this;
3434
3435
 
3435
- this.eachRelationship(function (name, relationship) {
3436
- if (_this3._relationships.has(name)) {
3437
- var rel = _this3._relationships.get(name);
3436
+ this._relationships.forEach(function (name, rel) {
3437
+ if (rel._inverseIsAsync()) {
3438
+ rel.removeInternalModelFromInverse(_this);
3438
3439
  rel.removeInverseRelationships();
3440
+ } else {
3441
+ rel.removeCompletelyFromInverse();
3439
3442
  }
3440
3443
  });
3441
- Object.keys(this._implicitRelationships).forEach(function (key) {
3442
- _this3._implicitRelationships[key].removeInverseRelationships();
3444
+
3445
+ var implicitRelationships = this._implicitRelationships;
3446
+ this.__implicitRelationships = null;
3447
+ Object.keys(implicitRelationships).forEach(function (key) {
3448
+ var rel = implicitRelationships[key];
3449
+
3450
+ if (rel._inverseIsAsync()) {
3451
+ rel.removeInternalModelFromInverse(_this);
3452
+ rel.removeInverseRelationships();
3453
+ } else {
3454
+ rel.removeCompletelyFromInverse();
3455
+ }
3456
+
3457
+ rel.destroy();
3443
3458
  });
3444
3459
  };
3445
3460
 
3446
3461
  InternalModel.prototype.preloadData = function preloadData(preload) {
3447
- var _this4 = this;
3462
+ var _this2 = this;
3448
3463
 
3449
3464
  //TODO(Igor) consider the polymorphic case
3450
3465
  Object.keys(preload).forEach(function (key) {
3451
3466
  var preloadValue = get(preload, key);
3452
- var relationshipMeta = _this4.modelClass.metaForProperty(key);
3467
+ var relationshipMeta = _this2.modelClass.metaForProperty(key);
3453
3468
  if (relationshipMeta.isRelationship) {
3454
- _this4._preloadRelationship(key, preloadValue);
3469
+ _this2._preloadRelationship(key, preloadValue);
3455
3470
  } else {
3456
- _this4._data[key] = preloadValue;
3471
+ _this2._data[key] = preloadValue;
3457
3472
  }
3458
3473
  });
3459
3474
  };
@@ -3659,7 +3674,7 @@ define('ember-data/-private/system/model/internal-model', ['exports', 'ember', '
3659
3674
  };
3660
3675
 
3661
3676
  InternalModel.prototype.referenceFor = function referenceFor(kind, name) {
3662
- var _this5 = this;
3677
+ var _this3 = this;
3663
3678
 
3664
3679
  var reference = this.references[name];
3665
3680
 
@@ -3667,7 +3682,7 @@ define('ember-data/-private/system/model/internal-model', ['exports', 'ember', '
3667
3682
  var relationship = this._relationships.get(name);
3668
3683
 
3669
3684
  (0, _debug.runInDebug)(function () {
3670
- var modelName = _this5.modelName;
3685
+ var modelName = _this3.modelName;
3671
3686
  (0, _debug.assert)('There is no ' + kind + ' relationship named \'' + name + '\' on a model of modelClass \'' + modelName + '\'', relationship);
3672
3687
 
3673
3688
  var actualRelationshipKind = relationship.relationshipMeta.kind;
@@ -5542,7 +5557,7 @@ define('ember-data/-private/system/model/states', ['exports', 'ember-data/-debug
5542
5557
  isDirty: false,
5543
5558
 
5544
5559
  setup: function (internalModel) {
5545
- internalModel.clearRelationships();
5560
+ internalModel.removeFromInverseRelationships();
5546
5561
  },
5547
5562
  invokeLifecycleCallbacks: function (internalModel) {
5548
5563
  internalModel.triggerLater('didDelete', internalModel);
@@ -8620,6 +8635,19 @@ define('ember-data/-private/system/relationships/state/belongs-to', ['exports',
8620
8635
  this.notifyBelongsToChanged();
8621
8636
  };
8622
8637
 
8638
+ BelongsToRelationship.prototype.removeCompletelyFromOwn = function removeCompletelyFromOwn(internalModel) {
8639
+ _Relationship.prototype.removeCompletelyFromOwn.call(this, internalModel);
8640
+
8641
+ if (this.canonicalState === internalModel) {
8642
+ this.canonicalState = null;
8643
+ }
8644
+
8645
+ if (this.inverseInternalModel === internalModel) {
8646
+ this.inverseInternalModel = null;
8647
+ this.notifyBelongsToChanged();
8648
+ }
8649
+ };
8650
+
8623
8651
  BelongsToRelationship.prototype.flushCanonical = function flushCanonical() {
8624
8652
  //temporary fix to not remove newly created records if server returned null.
8625
8653
  //TODO remove once we have proper diffing
@@ -8833,6 +8861,13 @@ define("ember-data/-private/system/relationships/state/create", ["exports", "emb
8833
8861
  return !!this.initializedRelationships[key];
8834
8862
  };
8835
8863
 
8864
+ Relationships.prototype.forEach = function forEach(cb) {
8865
+ var rels = this.initializedRelationships;
8866
+ Object.keys(rels).forEach(function (name) {
8867
+ cb(name, rels[name]);
8868
+ });
8869
+ };
8870
+
8836
8871
  Relationships.prototype.get = function get(key) {
8837
8872
  var relationships = this.initializedRelationships;
8838
8873
  var relationship = relationships[key];
@@ -9019,6 +9054,26 @@ define('ember-data/-private/system/relationships/state/has-many', ['exports', 'e
9019
9054
  _Relationship.prototype.removeCanonicalInternalModelFromOwn.call(this, internalModel, idx);
9020
9055
  };
9021
9056
 
9057
+ ManyRelationship.prototype.removeCompletelyFromOwn = function removeCompletelyFromOwn(internalModel) {
9058
+ _Relationship.prototype.removeCompletelyFromOwn.call(this, internalModel);
9059
+
9060
+ var canonicalIndex = this.canonicalState.indexOf(internalModel);
9061
+
9062
+ if (canonicalIndex !== -1) {
9063
+ this.canonicalState.splice(canonicalIndex, 1);
9064
+ }
9065
+
9066
+ var manyArray = this._manyArray;
9067
+
9068
+ if (manyArray) {
9069
+ var idx = manyArray.currentState.indexOf(internalModel);
9070
+
9071
+ if (idx !== -1) {
9072
+ manyArray.internalReplace(idx, 1);
9073
+ }
9074
+ }
9075
+ };
9076
+
9022
9077
  ManyRelationship.prototype.flushCanonical = function flushCanonical() {
9023
9078
  if (this._manyArray) {
9024
9079
  this._manyArray.flushCanonical();
@@ -9095,33 +9150,41 @@ define('ember-data/-private/system/relationships/state/has-many', ['exports', 'e
9095
9150
  };
9096
9151
 
9097
9152
  ManyRelationship.prototype.setInitialInternalModels = function setInitialInternalModels(internalModels) {
9098
- var _this2 = this;
9153
+ var _canonicalState;
9099
9154
 
9100
- if (!internalModels) {
9155
+ if (Array.isArray(internalModels) === false || internalModels.length === 0) {
9101
9156
  return;
9102
9157
  }
9103
9158
 
9104
- var args = [0, this.canonicalState.length].concat(internalModels);
9105
- this.canonicalState.splice.apply(this.canonicalState, args);
9106
- internalModels.forEach(function (internalModel) {
9107
- _this2.canonicalMembers.add(internalModel);
9108
- _this2.members.add(internalModel);
9109
- _this2.setupInverseRelationship(internalModel);
9110
- });
9159
+ var forCanonical = [];
9160
+
9161
+ for (var i = 0; i < internalModels.length; i++) {
9162
+ var internalModel = internalModels[i];
9163
+ if (this.canonicalMembers.has(internalModel)) {
9164
+ continue;
9165
+ }
9166
+
9167
+ forCanonical.push(internalModel);
9168
+ this.canonicalMembers.add(internalModel);
9169
+ this.members.add(internalModel);
9170
+ this.setupInverseRelationship(internalModel);
9171
+ }
9172
+
9173
+ (_canonicalState = this.canonicalState).splice.apply(_canonicalState, [0, this.canonicalState.length].concat(forCanonical));
9111
9174
  };
9112
9175
 
9113
9176
  ManyRelationship.prototype.fetchLink = function fetchLink() {
9114
- var _this3 = this;
9177
+ var _this2 = this;
9115
9178
 
9116
9179
  return this.store.findHasMany(this.internalModel, this.link, this.relationshipMeta).then(function (records) {
9117
9180
  if (records.hasOwnProperty('meta')) {
9118
- _this3.updateMeta(records.meta);
9181
+ _this2.updateMeta(records.meta);
9119
9182
  }
9120
- _this3.store._backburner.join(function () {
9121
- _this3.updateInternalModelsFromAdapter(records);
9122
- _this3.manyArray.set('isLoaded', true);
9183
+ _this2.store._backburner.join(function () {
9184
+ _this2.updateInternalModelsFromAdapter(records);
9185
+ _this2.manyArray.set('isLoaded', true);
9123
9186
  });
9124
- return _this3.manyArray;
9187
+ return _this2.manyArray;
9125
9188
  });
9126
9189
  };
9127
9190
 
@@ -9144,7 +9207,7 @@ define('ember-data/-private/system/relationships/state/has-many', ['exports', 'e
9144
9207
  };
9145
9208
 
9146
9209
  ManyRelationship.prototype.getRecords = function getRecords() {
9147
- var _this4 = this;
9210
+ var _this3 = this;
9148
9211
 
9149
9212
  //TODO(Igor) sync server here, once our syncing is not stupid
9150
9213
  var manyArray = this.manyArray;
@@ -9155,7 +9218,7 @@ define('ember-data/-private/system/relationships/state/has-many', ['exports', 'e
9155
9218
  promise = this.findRecords();
9156
9219
  } else {
9157
9220
  promise = this.findLink().then(function () {
9158
- return _this4.findRecords();
9221
+ return _this3.findRecords();
9159
9222
  });
9160
9223
  }
9161
9224
  } else {
@@ -9183,6 +9246,20 @@ define('ember-data/-private/system/relationships/state/has-many', ['exports', 'e
9183
9246
  }
9184
9247
  };
9185
9248
 
9249
+ ManyRelationship.prototype.destroy = function destroy() {
9250
+ _Relationship.prototype.destroy.call(this);
9251
+ var manyArray = this._manyArray;
9252
+ if (manyArray) {
9253
+ manyArray.destroy();
9254
+ }
9255
+
9256
+ var proxy = this.__loadingPromise;
9257
+
9258
+ if (proxy) {
9259
+ proxy.destroy();
9260
+ }
9261
+ };
9262
+
9186
9263
  _createClass(ManyRelationship, [{
9187
9264
  key: '_loadingPromise',
9188
9265
  get: function () {
@@ -9224,7 +9301,7 @@ define('ember-data/-private/system/relationships/state/has-many', ['exports', 'e
9224
9301
  return set;
9225
9302
  }
9226
9303
  });
9227
- define('ember-data/-private/system/relationships/state/relationship', ['exports', 'ember-data/-debug', 'ember-data/-private/system/ordered-set', 'ember-data/-private/system/normalize-link'], function (exports, _debug, _orderedSet, _normalizeLink2) {
9304
+ define('ember-data/-private/system/relationships/state/relationship', ['exports', 'ember-data/-debug', 'ember-data/-private/system/ordered-set', 'ember-data/-private/system/normalize-link', 'ember'], function (exports, _debug, _orderedSet, _normalizeLink2, _ember) {
9228
9305
  'use strict';
9229
9306
 
9230
9307
  exports.__esModule = true;
@@ -9253,6 +9330,8 @@ define('ember-data/-private/system/relationships/state/relationship', ['exports'
9253
9330
  };
9254
9331
  }();
9255
9332
 
9333
+ var guidFor = _ember.default.guidFor;
9334
+
9256
9335
  var Relationship = function () {
9257
9336
  function Relationship(store, internalModel, inverseKey, relationshipMeta) {
9258
9337
  _classCallCheck(this, Relationship);
@@ -9277,6 +9356,13 @@ define('ember-data/-private/system/relationships/state/relationship', ['exports'
9277
9356
  this.hasLoaded = false;
9278
9357
  }
9279
9358
 
9359
+ Relationship.prototype._inverseIsAsync = function _inverseIsAsync() {
9360
+ if (!this.inverseKey || !this.inverseInternalModel) {
9361
+ return false;
9362
+ }
9363
+ return this.inverseInternalModel._relationships.get(this.inverseKey).isAsync;
9364
+ };
9365
+
9280
9366
  Relationship.prototype.removeInverseRelationships = function removeInverseRelationships() {
9281
9367
  var _this = this;
9282
9368
 
@@ -9371,7 +9457,7 @@ define('ember-data/-private/system/relationships/state/relationship', ['exports'
9371
9457
  var _relationships = internalModel._implicitRelationships;
9372
9458
  var _relationship = _relationships[this.inverseKeyForImplicit];
9373
9459
  if (!_relationship) {
9374
- _relationship = _relationships[this.inverseKeyForImplicit] = new Relationship(this.store, internalModel, this.key, { options: {} });
9460
+ _relationship = _relationships[this.inverseKeyForImplicit] = new Relationship(this.store, internalModel, this.key, { options: { async: this.isAsync } });
9375
9461
  }
9376
9462
  _relationship.addCanonicalInternalModel(this.internalModel);
9377
9463
  }
@@ -9409,7 +9495,7 @@ define('ember-data/-private/system/relationships/state/relationship', ['exports'
9409
9495
  internalModel._relationships.get(this.inverseKey).addInternalModel(this.internalModel);
9410
9496
  } else {
9411
9497
  if (!internalModel._implicitRelationships[this.inverseKeyForImplicit]) {
9412
- internalModel._implicitRelationships[this.inverseKeyForImplicit] = new Relationship(this.store, internalModel, this.key, { options: {} });
9498
+ internalModel._implicitRelationships[this.inverseKeyForImplicit] = new Relationship(this.store, internalModel, this.key, { options: { async: this.isAsync } });
9413
9499
  }
9414
9500
  internalModel._implicitRelationships[this.inverseKeyForImplicit].addInternalModel(this.internalModel);
9415
9501
  }
@@ -9441,7 +9527,6 @@ define('ember-data/-private/system/relationships/state/relationship', ['exports'
9441
9527
 
9442
9528
  Relationship.prototype.removeInternalModelFromOwn = function removeInternalModelFromOwn(internalModel) {
9443
9529
  this.members.delete(internalModel);
9444
- this.notifyRecordRelationshipRemoved(internalModel);
9445
9530
  this.internalModel.updateRecordArrays();
9446
9531
  };
9447
9532
 
@@ -9458,6 +9543,38 @@ define('ember-data/-private/system/relationships/state/relationship', ['exports'
9458
9543
  this.flushCanonicalLater();
9459
9544
  };
9460
9545
 
9546
+ Relationship.prototype.removeCompletelyFromInverse = function removeCompletelyFromInverse() {
9547
+ var _this4 = this;
9548
+
9549
+ if (!this.inverseKey) {
9550
+ return;
9551
+ }
9552
+
9553
+ // we actually want a union of members and canonicalMembers
9554
+ // they should be disjoint but currently are not due to a bug
9555
+ var seen = Object.create(null);
9556
+ var internalModel = this.internalModel;
9557
+
9558
+ var unload = function (inverseInternalModel) {
9559
+ var id = guidFor(inverseInternalModel);
9560
+
9561
+ if (seen[id] === undefined) {
9562
+ var relationship = inverseInternalModel._relationships.get(_this4.inverseKey);
9563
+ relationship.removeCompletelyFromOwn(internalModel);
9564
+ seen[id] = true;
9565
+ }
9566
+ };
9567
+
9568
+ this.members.forEach(unload);
9569
+ this.canonicalMembers.forEach(unload);
9570
+ };
9571
+
9572
+ Relationship.prototype.removeCompletelyFromOwn = function removeCompletelyFromOwn(internalModel) {
9573
+ this.canonicalMembers.delete(internalModel);
9574
+ this.members.delete(internalModel);
9575
+ this.internalModel.updateRecordArrays();
9576
+ };
9577
+
9461
9578
  Relationship.prototype.flushCanonical = function flushCanonical() {
9462
9579
  var list = this.members.list;
9463
9580
  this.willSync = false;
@@ -9516,8 +9633,6 @@ define('ember-data/-private/system/relationships/state/relationship', ['exports'
9516
9633
 
9517
9634
  Relationship.prototype.notifyRecordRelationshipAdded = function notifyRecordRelationshipAdded() {};
9518
9635
 
9519
- Relationship.prototype.notifyRecordRelationshipRemoved = function notifyRecordRelationshipRemoved() {};
9520
-
9521
9636
  Relationship.prototype.setHasData = function setHasData(value) {
9522
9637
  this.hasData = value;
9523
9638
  };
@@ -9568,6 +9683,8 @@ define('ember-data/-private/system/relationships/state/relationship', ['exports'
9568
9683
 
9569
9684
  Relationship.prototype.updateData = function updateData() {};
9570
9685
 
9686
+ Relationship.prototype.destroy = function destroy() {};
9687
+
9571
9688
  _createClass(Relationship, [{
9572
9689
  key: 'parentType',
9573
9690
  get: function () {
@@ -10093,7 +10210,7 @@ define('ember-data/-private/system/store', ['exports', 'ember', 'ember-data/-pri
10093
10210
 
10094
10211
  Note: When creating a new record using any of the above methods
10095
10212
  Ember Data will update `DS.RecordArray`s such as those returned by
10096
- `store#peekAll()`, `store#findAll()` or `store#filter()`. This means any
10213
+ `store#peekAll()` or `store#findAll()`. This means any
10097
10214
  data bindings or computed properties that depend on the RecordArray
10098
10215
  will automatically be synced to include the new or updated record
10099
10216
  values.
@@ -15253,7 +15370,7 @@ define('ember-data/initializers/data-adapter', ['exports'], function (exports) {
15253
15370
  initialize: function () {}
15254
15371
  };
15255
15372
  });
15256
- define('ember-data/initializers/ember-data', ['exports', 'ember-data/setup-container', 'ember-data/index'], function (exports, _setupContainer) {
15373
+ define('ember-data/initializers/ember-data', ['exports', 'ember-data/setup-container', 'ember-data'], function (exports, _setupContainer) {
15257
15374
  'use strict';
15258
15375
 
15259
15376
  exports.__esModule = true;
@@ -18177,7 +18294,7 @@ define("ember-data/version", ["exports"], function (exports) {
18177
18294
  "use strict";
18178
18295
 
18179
18296
  exports.__esModule = true;
18180
- exports.default = "2.14.4";
18297
+ exports.default = "2.14.7";
18181
18298
  });
18182
18299
  define("ember-inflector", ["module", "exports", "ember", "ember-inflector/lib/system", "ember-inflector/lib/ext/string"], function (module, exports, _ember, _system) {
18183
18300
  "use strict";