ember-source 2.11.0.beta.4 → 2.11.0.beta.8

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: ed521d66a5c7433f238889cbf87490a079e471c2
4
- data.tar.gz: 5b295833a53d0a478c81c78dded94f4b03b8e646
3
+ metadata.gz: 509fa88a5ea3c75289b603e96c0c6b8b081a86b5
4
+ data.tar.gz: ba091659d30a4d11219d69e782d7538ca7e3e71a
5
5
  SHA512:
6
- metadata.gz: 85b9c8e5a6136b7b5a4c9dcf58c29cfe68feaf0f05d49f3610149dd3c74e3aa8b70a0a6b09b6c94d2c01a6be388e0d6ee7fd9d4473180b521a8bb63862c69091
7
- data.tar.gz: baf33be7a0f46507ce15835a6416e7ce5b7a50ed9a6ae2c18a243d23e644f89adbd3ab0242e4aafada2c26e87d30b92ddda605a92ff37c7e67072886957fa940
6
+ metadata.gz: 70165d7e4c6c83e531f475cd29133bd006dd329d4bab0f07be3480da78e6e2d217770b7ff76ecb5e9752bffeb1a3c22188aba193cbe903b4b89c2416c21c7318
7
+ data.tar.gz: a51e63c3034819c89be52ae445c7b3567df2c8b752a644814c3d8e7cc7911d9c1a3a8747be9054004906a79648474ec71fd41ca6fc332842f6adade54b49548d
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.11.0-beta.4
1
+ 2.11.0.beta.8
@@ -1,12 +1,12 @@
1
1
  ;(function() {
2
2
  /*!
3
3
  * @overview Ember - JavaScript Application Framework
4
- * @copyright Copyright 2011-2016 Tilde Inc. and contributors
4
+ * @copyright Copyright 2011-2017 Tilde Inc. and contributors
5
5
  * Portions Copyright 2006-2011 Strobe Inc.
6
6
  * Portions Copyright 2008-2011 Apple Inc. All rights reserved.
7
7
  * @license Licensed under MIT license
8
8
  * See https://raw.github.com/emberjs/ember.js/master/LICENSE
9
- * @version 2.11.0-beta.4
9
+ * @version 2.11.0-beta.8
10
10
  */
11
11
 
12
12
  var enifed, requireModule, Ember;
@@ -3417,7 +3417,7 @@ enifed('ember-metal/cache', ['exports', 'ember-utils', 'ember-metal/meta'], func
3417
3417
  return DefaultStore;
3418
3418
  })();
3419
3419
  });
3420
- enifed('ember-metal/chains', ['exports', 'ember-utils', 'ember-metal/property_get', 'ember-metal/meta', 'ember-metal/watch_key', 'ember-metal/watch_path'], function (exports, _emberUtils, _emberMetalProperty_get, _emberMetalMeta, _emberMetalWatch_key, _emberMetalWatch_path) {
3420
+ enifed('ember-metal/chains', ['exports', 'ember-utils', 'ember-metal/property_get', 'ember-metal/meta', 'ember-metal/watch_key', 'ember-metal/computed', 'ember-metal/watch_path'], function (exports, _emberUtils, _emberMetalProperty_get, _emberMetalMeta, _emberMetalWatch_key, _emberMetalComputed, _emberMetalWatch_path) {
3421
3421
  'use strict';
3422
3422
 
3423
3423
  exports.finishChains = finishChains;
@@ -3602,8 +3602,8 @@ enifed('ember-metal/chains', ['exports', 'ember-utils', 'ember-metal/property_ge
3602
3602
  // Otherwise attempt to get the cached value of the computed property
3603
3603
  } else {
3604
3604
  var cache = meta.readableCache();
3605
- if (cache && key in cache) {
3606
- return cache[key];
3605
+ if (cache) {
3606
+ return _emberMetalComputed.cacheFor.get(cache, key);
3607
3607
  }
3608
3608
  }
3609
3609
  }
@@ -6478,7 +6478,7 @@ enifed('ember-metal/merge', ['exports'], function (exports) {
6478
6478
  return original;
6479
6479
  }
6480
6480
  });
6481
- enifed('ember-metal/meta', ['exports', 'ember-utils', 'ember-metal/features', 'ember-metal/meta_listeners', 'ember-metal/debug', 'ember-metal/chains'], function (exports, _emberUtils, _emberMetalFeatures, _emberMetalMeta_listeners, _emberMetalDebug, _emberMetalChains) {
6481
+ enifed('ember-metal/meta', ['exports', 'ember-utils', 'ember-metal/features', 'ember-metal/meta_listeners', 'ember-metal/debug', 'ember-metal/chains', 'require'], function (exports, _emberUtils, _emberMetalFeatures, _emberMetalMeta_listeners, _emberMetalDebug, _emberMetalChains, _require) {
6482
6482
  'no use strict';
6483
6483
  // Remove "use strict"; from transpiled module until
6484
6484
  // https://bugs.webkit.org/show_bug.cgi?id=138038 is fixed
@@ -6543,13 +6543,19 @@ enifed('ember-metal/meta', ['exports', 'ember-utils', 'ember-metal/features', 'e
6543
6543
 
6544
6544
  if (_emberMetalFeatures.default('ember-glimmer-detect-backtracking-rerender') || _emberMetalFeatures.default('ember-glimmer-allow-backtracking-rerender')) {
6545
6545
  members.lastRendered = ownMap;
6546
- members.lastRenderedFrom = ownMap; // FIXME: not used in production, remove me from prod builds
6546
+ if (_require.has('ember-debug')) {
6547
+ //https://github.com/emberjs/ember.js/issues/14732
6548
+ members.lastRenderedReferenceMap = ownMap;
6549
+ members.lastRenderedTemplateMap = ownMap;
6550
+ }
6547
6551
  }
6548
6552
 
6549
6553
  var memberNames = Object.keys(members);
6550
6554
  var META_FIELD = '__ember_meta__';
6551
6555
 
6552
6556
  function Meta(obj, parentMeta) {
6557
+ var _this = this;
6558
+
6553
6559
  _emberMetalDebug.runInDebug(function () {
6554
6560
  return counters.metaInstantiated++;
6555
6561
  });
@@ -6585,7 +6591,10 @@ enifed('ember-metal/meta', ['exports', 'ember-utils', 'ember-metal/features', 'e
6585
6591
 
6586
6592
  if (_emberMetalFeatures.default('ember-glimmer-detect-backtracking-rerender') || _emberMetalFeatures.default('ember-glimmer-allow-backtracking-rerender')) {
6587
6593
  this._lastRendered = undefined;
6588
- this._lastRenderedFrom = undefined; // FIXME: not used in production, remove me from prod builds
6594
+ _emberMetalDebug.runInDebug(function () {
6595
+ _this._lastRenderedReferenceMap = undefined;
6596
+ _this._lastRenderedTemplateMap = undefined;
6597
+ });
6589
6598
  }
6590
6599
 
6591
6600
  this._initializeListeners();
@@ -6952,24 +6961,11 @@ enifed('ember-metal/meta', ['exports', 'ember-utils', 'ember-metal/features', 'e
6952
6961
  };
6953
6962
  }
6954
6963
 
6955
- var HAS_NATIVE_WEAKMAP = (function () {
6956
- // detect if `WeakMap` is even present
6957
- var hasWeakMap = typeof WeakMap === 'function';
6958
- if (!hasWeakMap) {
6959
- return false;
6960
- }
6961
-
6962
- var instance = new WeakMap();
6963
- // use `Object`'s `.toString` directly to prevent us from detecting
6964
- // polyfills as native weakmaps
6965
- return Object.prototype.toString.call(instance) === '[object WeakMap]';
6966
- })();
6967
-
6968
6964
  var setMeta = undefined,
6969
6965
  peekMeta = undefined;
6970
6966
 
6971
6967
  // choose the one appropriate for given platform
6972
- if (HAS_NATIVE_WEAKMAP) {
6968
+ if (_emberUtils.HAS_NATIVE_WEAKMAP) {
6973
6969
  (function () {
6974
6970
  var getPrototypeOf = Object.getPrototypeOf;
6975
6971
  var metaStore = new WeakMap();
@@ -10102,10 +10098,14 @@ enifed('ember-metal/transaction', ['exports', 'ember-metal/meta', 'ember-metal/d
10102
10098
  var counter = 0;
10103
10099
  var inTransaction = false;
10104
10100
  var shouldReflush = undefined;
10101
+ var debugStack = undefined;
10105
10102
 
10106
10103
  exports.default = runInTransaction = function (context, methodName) {
10107
10104
  shouldReflush = false;
10108
10105
  inTransaction = true;
10106
+ _emberMetalDebug.runInDebug(function () {
10107
+ debugStack = context.env.debugStack;
10108
+ });
10109
10109
  context[methodName]();
10110
10110
  inTransaction = false;
10111
10111
  counter++;
@@ -10121,8 +10121,13 @@ enifed('ember-metal/transaction', ['exports', 'ember-metal/meta', 'ember-metal/d
10121
10121
  lastRendered[key] = counter;
10122
10122
 
10123
10123
  _emberMetalDebug.runInDebug(function () {
10124
- var lastRenderedFrom = meta.writableLastRenderedFrom();
10125
- lastRenderedFrom[key] = reference;
10124
+ var referenceMap = meta.writableLastRenderedReferenceMap();
10125
+ referenceMap[key] = reference;
10126
+
10127
+ var templateMap = meta.writableLastRenderedTemplateMap();
10128
+ if (templateMap[key] === undefined) {
10129
+ templateMap[key] = debugStack.peek();
10130
+ }
10126
10131
  });
10127
10132
  };
10128
10133
 
@@ -10132,10 +10137,13 @@ enifed('ember-metal/transaction', ['exports', 'ember-metal/meta', 'ember-metal/d
10132
10137
 
10133
10138
  if (lastRendered && lastRendered[key] === counter) {
10134
10139
  raise((function () {
10135
- var ref = meta.readableLastRenderedFrom();
10136
- var parts = [];
10137
- var lastRef = ref[key];
10140
+ var templateMap = meta.readableLastRenderedTemplateMap();
10141
+ var lastRenderedIn = templateMap[key];
10142
+ var currentlyIn = debugStack.peek();
10138
10143
 
10144
+ var referenceMap = meta.readableLastRenderedReferenceMap();
10145
+ var lastRef = referenceMap[key];
10146
+ var parts = [];
10139
10147
  var label = undefined;
10140
10148
 
10141
10149
  if (lastRef) {
@@ -10144,12 +10152,12 @@ enifed('ember-metal/transaction', ['exports', 'ember-metal/meta', 'ember-metal/d
10144
10152
  lastRef = lastRef._parentReference;
10145
10153
  }
10146
10154
 
10147
- label = parts.join();
10155
+ label = parts.join('.');
10148
10156
  } else {
10149
10157
  label = 'the same value';
10150
10158
  }
10151
10159
 
10152
- return 'You modified ' + label + ' twice on ' + object + ' in a single render. This was unreliable and slow in Ember 1.x and ' + implication;
10160
+ return 'You modified "' + label + '" twice on ' + object + ' in a single render. It was rendered in ' + lastRenderedIn + ' and modified in ' + currentlyIn + '. This was unreliable and slow in Ember 1.x and ' + implication;
10153
10161
  })(), false);
10154
10162
 
10155
10163
  shouldReflush = true;
@@ -15516,9 +15524,9 @@ enifed('ember-runtime/mixins/mutable_array', ['exports', 'ember-metal', 'ember-r
15516
15524
  want to reuse an existing array without having to recreate it.
15517
15525
  ```javascript
15518
15526
  let colors = ['red', 'green', 'blue'];
15519
- color.length(); // 3
15520
- colors.clear(); // []
15521
- colors.length(); // 0
15527
+ colors.length; // 3
15528
+ colors.clear(); // []
15529
+ colors.length; // 0
15522
15530
  ```
15523
15531
  @method clear
15524
15532
  @return {Ember.Array} An empty Array.
@@ -16695,7 +16703,7 @@ enifed('ember-runtime/mixins/registry_proxy', ['exports', 'ember-metal'], functi
16695
16703
  let App = Ember.Application.create();
16696
16704
  let appInstance = App.buildInstance();
16697
16705
  // if all of type `connection` must not be singletons
16698
- appInstance.optionsForType('connection', { singleton: false });
16706
+ appInstance.registerOptionsForType('connection', { singleton: false });
16699
16707
  appInstance.register('connection:twitter', TwitterConnection);
16700
16708
  appInstance.register('connection:facebook', FacebookConnection);
16701
16709
  let twitter = appInstance.lookup('connection:twitter');
@@ -19405,7 +19413,7 @@ enifed("ember/features", ["exports"], function (exports) {
19405
19413
  enifed("ember/version", ["exports"], function (exports) {
19406
19414
  "use strict";
19407
19415
 
19408
- exports.default = "2.11.0-beta.4";
19416
+ exports.default = "2.11.0-beta.8";
19409
19417
  });
19410
19418
  enifed('rsvp', ['exports'], function (exports) {
19411
19419
  'use strict';
@@ -1,12 +1,12 @@
1
1
  ;(function() {
2
2
  /*!
3
3
  * @overview Ember - JavaScript Application Framework
4
- * @copyright Copyright 2011-2016 Tilde Inc. and contributors
4
+ * @copyright Copyright 2011-2017 Tilde Inc. and contributors
5
5
  * Portions Copyright 2006-2011 Strobe Inc.
6
6
  * Portions Copyright 2008-2011 Apple Inc. All rights reserved.
7
7
  * @license Licensed under MIT license
8
8
  * See https://raw.github.com/emberjs/ember.js/master/LICENSE
9
- * @version 2.11.0-beta.4
9
+ * @version 2.11.0-beta.8
10
10
  */
11
11
 
12
12
  var enifed, requireModule, Ember;
@@ -2714,7 +2714,7 @@ enifed('ember-metal/cache', ['exports', 'ember-utils', 'ember-metal/meta'], func
2714
2714
  return DefaultStore;
2715
2715
  })();
2716
2716
  });
2717
- enifed('ember-metal/chains', ['exports', 'ember-utils', 'ember-metal/property_get', 'ember-metal/meta', 'ember-metal/watch_key', 'ember-metal/watch_path'], function (exports, _emberUtils, _emberMetalProperty_get, _emberMetalMeta, _emberMetalWatch_key, _emberMetalWatch_path) {
2717
+ enifed('ember-metal/chains', ['exports', 'ember-utils', 'ember-metal/property_get', 'ember-metal/meta', 'ember-metal/watch_key', 'ember-metal/computed', 'ember-metal/watch_path'], function (exports, _emberUtils, _emberMetalProperty_get, _emberMetalMeta, _emberMetalWatch_key, _emberMetalComputed, _emberMetalWatch_path) {
2718
2718
  'use strict';
2719
2719
 
2720
2720
  exports.finishChains = finishChains;
@@ -2899,8 +2899,8 @@ enifed('ember-metal/chains', ['exports', 'ember-utils', 'ember-metal/property_ge
2899
2899
  // Otherwise attempt to get the cached value of the computed property
2900
2900
  } else {
2901
2901
  var cache = meta.readableCache();
2902
- if (cache && key in cache) {
2903
- return cache[key];
2902
+ if (cache) {
2903
+ return _emberMetalComputed.cacheFor.get(cache, key);
2904
2904
  }
2905
2905
  }
2906
2906
  }
@@ -5777,7 +5777,7 @@ enifed('ember-metal/merge', ['exports'], function (exports) {
5777
5777
  return original;
5778
5778
  }
5779
5779
  });
5780
- enifed('ember-metal/meta', ['exports', 'ember-utils', 'ember-metal/features', 'ember-metal/meta_listeners', 'ember-metal/debug', 'ember-metal/chains'], function (exports, _emberUtils, _emberMetalFeatures, _emberMetalMeta_listeners, _emberMetalDebug, _emberMetalChains) {
5780
+ enifed('ember-metal/meta', ['exports', 'ember-utils', 'ember-metal/features', 'ember-metal/meta_listeners', 'ember-metal/debug', 'ember-metal/chains', 'require'], function (exports, _emberUtils, _emberMetalFeatures, _emberMetalMeta_listeners, _emberMetalDebug, _emberMetalChains, _require) {
5781
5781
  'no use strict';
5782
5782
  // Remove "use strict"; from transpiled module until
5783
5783
  // https://bugs.webkit.org/show_bug.cgi?id=138038 is fixed
@@ -5842,13 +5842,19 @@ enifed('ember-metal/meta', ['exports', 'ember-utils', 'ember-metal/features', 'e
5842
5842
 
5843
5843
  if (true || false) {
5844
5844
  members.lastRendered = ownMap;
5845
- members.lastRenderedFrom = ownMap; // FIXME: not used in production, remove me from prod builds
5845
+ if (_require.has('ember-debug')) {
5846
+ //https://github.com/emberjs/ember.js/issues/14732
5847
+ members.lastRenderedReferenceMap = ownMap;
5848
+ members.lastRenderedTemplateMap = ownMap;
5849
+ }
5846
5850
  }
5847
5851
 
5848
5852
  var memberNames = Object.keys(members);
5849
5853
  var META_FIELD = '__ember_meta__';
5850
5854
 
5851
5855
  function Meta(obj, parentMeta) {
5856
+ var _this = this;
5857
+
5852
5858
  _emberMetalDebug.runInDebug(function () {
5853
5859
  return counters.metaInstantiated++;
5854
5860
  });
@@ -5884,7 +5890,10 @@ enifed('ember-metal/meta', ['exports', 'ember-utils', 'ember-metal/features', 'e
5884
5890
 
5885
5891
  if (true || false) {
5886
5892
  this._lastRendered = undefined;
5887
- this._lastRenderedFrom = undefined; // FIXME: not used in production, remove me from prod builds
5893
+ _emberMetalDebug.runInDebug(function () {
5894
+ _this._lastRenderedReferenceMap = undefined;
5895
+ _this._lastRenderedTemplateMap = undefined;
5896
+ });
5888
5897
  }
5889
5898
 
5890
5899
  this._initializeListeners();
@@ -6251,24 +6260,11 @@ enifed('ember-metal/meta', ['exports', 'ember-utils', 'ember-metal/features', 'e
6251
6260
  };
6252
6261
  }
6253
6262
 
6254
- var HAS_NATIVE_WEAKMAP = (function () {
6255
- // detect if `WeakMap` is even present
6256
- var hasWeakMap = typeof WeakMap === 'function';
6257
- if (!hasWeakMap) {
6258
- return false;
6259
- }
6260
-
6261
- var instance = new WeakMap();
6262
- // use `Object`'s `.toString` directly to prevent us from detecting
6263
- // polyfills as native weakmaps
6264
- return Object.prototype.toString.call(instance) === '[object WeakMap]';
6265
- })();
6266
-
6267
6263
  var setMeta = undefined,
6268
6264
  peekMeta = undefined;
6269
6265
 
6270
6266
  // choose the one appropriate for given platform
6271
- if (HAS_NATIVE_WEAKMAP) {
6267
+ if (_emberUtils.HAS_NATIVE_WEAKMAP) {
6272
6268
  (function () {
6273
6269
  var getPrototypeOf = Object.getPrototypeOf;
6274
6270
  var metaStore = new WeakMap();
@@ -9401,10 +9397,14 @@ enifed('ember-metal/transaction', ['exports', 'ember-metal/meta', 'ember-metal/d
9401
9397
  var counter = 0;
9402
9398
  var inTransaction = false;
9403
9399
  var shouldReflush = undefined;
9400
+ var debugStack = undefined;
9404
9401
 
9405
9402
  exports.default = runInTransaction = function (context, methodName) {
9406
9403
  shouldReflush = false;
9407
9404
  inTransaction = true;
9405
+ _emberMetalDebug.runInDebug(function () {
9406
+ debugStack = context.env.debugStack;
9407
+ });
9408
9408
  context[methodName]();
9409
9409
  inTransaction = false;
9410
9410
  counter++;
@@ -9420,8 +9420,13 @@ enifed('ember-metal/transaction', ['exports', 'ember-metal/meta', 'ember-metal/d
9420
9420
  lastRendered[key] = counter;
9421
9421
 
9422
9422
  _emberMetalDebug.runInDebug(function () {
9423
- var lastRenderedFrom = meta.writableLastRenderedFrom();
9424
- lastRenderedFrom[key] = reference;
9423
+ var referenceMap = meta.writableLastRenderedReferenceMap();
9424
+ referenceMap[key] = reference;
9425
+
9426
+ var templateMap = meta.writableLastRenderedTemplateMap();
9427
+ if (templateMap[key] === undefined) {
9428
+ templateMap[key] = debugStack.peek();
9429
+ }
9425
9430
  });
9426
9431
  };
9427
9432
 
@@ -9431,10 +9436,13 @@ enifed('ember-metal/transaction', ['exports', 'ember-metal/meta', 'ember-metal/d
9431
9436
 
9432
9437
  if (lastRendered && lastRendered[key] === counter) {
9433
9438
  raise((function () {
9434
- var ref = meta.readableLastRenderedFrom();
9435
- var parts = [];
9436
- var lastRef = ref[key];
9439
+ var templateMap = meta.readableLastRenderedTemplateMap();
9440
+ var lastRenderedIn = templateMap[key];
9441
+ var currentlyIn = debugStack.peek();
9437
9442
 
9443
+ var referenceMap = meta.readableLastRenderedReferenceMap();
9444
+ var lastRef = referenceMap[key];
9445
+ var parts = [];
9438
9446
  var label = undefined;
9439
9447
 
9440
9448
  if (lastRef) {
@@ -9443,12 +9451,12 @@ enifed('ember-metal/transaction', ['exports', 'ember-metal/meta', 'ember-metal/d
9443
9451
  lastRef = lastRef._parentReference;
9444
9452
  }
9445
9453
 
9446
- label = parts.join();
9454
+ label = parts.join('.');
9447
9455
  } else {
9448
9456
  label = 'the same value';
9449
9457
  }
9450
9458
 
9451
- return 'You modified ' + label + ' twice on ' + object + ' in a single render. This was unreliable and slow in Ember 1.x and ' + implication;
9459
+ return 'You modified "' + label + '" twice on ' + object + ' in a single render. It was rendered in ' + lastRenderedIn + ' and modified in ' + currentlyIn + '. This was unreliable and slow in Ember 1.x and ' + implication;
9452
9460
  })(), false);
9453
9461
 
9454
9462
  shouldReflush = true;
@@ -11534,7 +11542,7 @@ enifed('ember-utils/guid', ['exports', 'ember-utils/intern'], function (exports,
11534
11542
  }
11535
11543
  }
11536
11544
  });
11537
- enifed('ember-utils/index', ['exports', 'ember-utils/symbol', 'ember-utils/owner', 'ember-utils/assign', 'ember-utils/empty-object', 'ember-utils/dictionary', 'ember-utils/guid', 'ember-utils/intern', 'ember-utils/super', 'ember-utils/inspect', 'ember-utils/lookup-descriptor', 'ember-utils/invoke', 'ember-utils/make-array', 'ember-utils/apply-str', 'ember-utils/name', 'ember-utils/to-string'], function (exports, _emberUtilsSymbol, _emberUtilsOwner, _emberUtilsAssign, _emberUtilsEmptyObject, _emberUtilsDictionary, _emberUtilsGuid, _emberUtilsIntern, _emberUtilsSuper, _emberUtilsInspect, _emberUtilsLookupDescriptor, _emberUtilsInvoke, _emberUtilsMakeArray, _emberUtilsApplyStr, _emberUtilsName, _emberUtilsToString) {
11545
+ enifed('ember-utils/index', ['exports', 'ember-utils/symbol', 'ember-utils/owner', 'ember-utils/assign', 'ember-utils/empty-object', 'ember-utils/dictionary', 'ember-utils/guid', 'ember-utils/intern', 'ember-utils/super', 'ember-utils/inspect', 'ember-utils/lookup-descriptor', 'ember-utils/invoke', 'ember-utils/make-array', 'ember-utils/apply-str', 'ember-utils/name', 'ember-utils/to-string', 'ember-utils/weak-map-utils'], function (exports, _emberUtilsSymbol, _emberUtilsOwner, _emberUtilsAssign, _emberUtilsEmptyObject, _emberUtilsDictionary, _emberUtilsGuid, _emberUtilsIntern, _emberUtilsSuper, _emberUtilsInspect, _emberUtilsLookupDescriptor, _emberUtilsInvoke, _emberUtilsMakeArray, _emberUtilsApplyStr, _emberUtilsName, _emberUtilsToString, _emberUtilsWeakMapUtils) {
11538
11546
  /*
11539
11547
  This package will be eagerly parsed and should have no dependencies on external
11540
11548
  packages.
@@ -11572,6 +11580,7 @@ enifed('ember-utils/index', ['exports', 'ember-utils/symbol', 'ember-utils/owner
11572
11580
  exports.applyStr = _emberUtilsApplyStr.default;
11573
11581
  exports.NAME_KEY = _emberUtilsName.default;
11574
11582
  exports.toString = _emberUtilsToString.default;
11583
+ exports.HAS_NATIVE_WEAKMAP = _emberUtilsWeakMapUtils.HAS_NATIVE_WEAKMAP;
11575
11584
  });
11576
11585
  enifed('ember-utils/inspect', ['exports'], function (exports) {
11577
11586
  'use strict';
@@ -11872,8 +11881,8 @@ enifed('ember-utils/owner', ['exports', 'ember-utils/symbol'], function (exports
11872
11881
 
11873
11882
  @method setOwner
11874
11883
  @for Ember
11875
- @param {Object} object An object with an owner.
11876
- @return {Object} An owner object.
11884
+ @param {Object} object An object instance.
11885
+ @param {Object} object The new owner object of the object instance.
11877
11886
  @since 2.3.0
11878
11887
  @public
11879
11888
  */
@@ -11989,6 +11998,23 @@ enifed('ember-utils/to-string', ['exports'], function (exports) {
11989
11998
  }
11990
11999
  }
11991
12000
  });
12001
+ enifed('ember-utils/weak-map-utils', ['exports'], function (exports) {
12002
+ 'use strict';
12003
+
12004
+ var HAS_NATIVE_WEAKMAP = (function () {
12005
+ // detect if `WeakMap` is even present
12006
+ var hasWeakMap = typeof WeakMap === 'function';
12007
+ if (!hasWeakMap) {
12008
+ return false;
12009
+ }
12010
+
12011
+ var instance = new WeakMap();
12012
+ // use `Object`'s `.toString` directly to prevent us from detecting
12013
+ // polyfills as native weakmaps
12014
+ return Object.prototype.toString.call(instance) === '[object WeakMap]';
12015
+ })();
12016
+ exports.HAS_NATIVE_WEAKMAP = HAS_NATIVE_WEAKMAP;
12017
+ });
11992
12018
  enifed("ember/features", ["exports"], function (exports) {
11993
12019
  "use strict";
11994
12020
 
@@ -11997,7 +12023,7 @@ enifed("ember/features", ["exports"], function (exports) {
11997
12023
  enifed("ember/version", ["exports"], function (exports) {
11998
12024
  "use strict";
11999
12025
 
12000
- exports.default = "2.11.0-beta.4";
12026
+ exports.default = "2.11.0-beta.8";
12001
12027
  });
12002
12028
  enifed("glimmer-compiler/index", ["exports", "glimmer-compiler/lib/compiler", "glimmer-compiler/lib/template-visitor"], function (exports, _glimmerCompilerLibCompiler, _glimmerCompilerLibTemplateVisitor) {
12003
12029
  "use strict";
@@ -22025,9 +22051,11 @@ enifed('glimmer-runtime/lib/syntax/core', ['exports', 'glimmer-runtime/lib/synta
22025
22051
  var keys = this.keys;
22026
22052
  var values = this.values;
22027
22053
 
22028
- return new _glimmerRuntimeLibCompiledExpressionsArgs.CompiledNamedArgs(keys, values.map(function (value) {
22029
- return value.compile(compiler, env, symbolTable);
22030
- }));
22054
+ var compiledValues = new Array(values.length);
22055
+ for (var i = 0; i < compiledValues.length; i++) {
22056
+ compiledValues[i] = values[i].compile(compiler, env, symbolTable);
22057
+ }
22058
+ return new _glimmerRuntimeLibCompiledExpressionsArgs.CompiledNamedArgs(keys, compiledValues);
22031
22059
  };
22032
22060
 
22033
22061
  return NamedArgs;
@@ -22362,9 +22390,20 @@ enifed('glimmer-runtime/lib/upsert', ['exports', 'glimmer-runtime/lib/bounds'],
22362
22390
  enifed('glimmer-runtime/lib/utils', ['exports', 'glimmer-util'], function (exports, _glimmerUtil) {
22363
22391
  'use strict';
22364
22392
 
22365
- var EMPTY_ARRAY = Object.freeze([]);
22393
+ var HAS_NATIVE_WEAKMAP = (function () {
22394
+ // detect if `WeakMap` is even present
22395
+ var hasWeakMap = typeof WeakMap === 'function';
22396
+ if (!hasWeakMap) {
22397
+ return false;
22398
+ }
22399
+ var instance = new WeakMap();
22400
+ // use `Object`'s `.toString` directly to prevent us from detecting
22401
+ // polyfills as native weakmaps
22402
+ return Object.prototype.toString.call(instance) === '[object WeakMap]';
22403
+ })();
22404
+ var EMPTY_ARRAY = HAS_NATIVE_WEAKMAP ? Object.freeze([]) : [];
22366
22405
  exports.EMPTY_ARRAY = EMPTY_ARRAY;
22367
- var EMPTY_DICT = Object.freeze(_glimmerUtil.dict());
22406
+ var EMPTY_DICT = HAS_NATIVE_WEAKMAP ? Object.freeze(_glimmerUtil.dict()) : _glimmerUtil.dict();
22368
22407
  exports.EMPTY_DICT = EMPTY_DICT;
22369
22408
 
22370
22409
  var ListRange = (function () {