ember-source 1.13.6 → 1.13.7

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of ember-source might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 992482f76e1e1475ce01ef1bd762edb2c61a4fff
4
- data.tar.gz: c0bfe6eb42a903e5490be71a9133377298553b7b
3
+ metadata.gz: 4a2a8fda278c386217bfe60afa10c663a34bbd30
4
+ data.tar.gz: b486e14a07c3ff3fcad4579dbc4b2d2dc238df93
5
5
  SHA512:
6
- metadata.gz: ac599673e723429f349841d63169b5d4a8d0772554de3a258c3258310ff764d8ab6d129d8890c0da7852bb00d5e3d0c76134de6cbea2c2e2c2e67811e75bfabd
7
- data.tar.gz: a2425888cd669c83293e238495358ba94a67d327c8f99052cabda10ed656a945bd579173ceadc94e39fd8c1e554e2f4aa6aea1d0b31d745276cf061da33dab18
6
+ metadata.gz: c2b9c2ffdac90557880691360270bd52675269a94450830d07961a08d06ac76f8a63c08dd4e1c368b9a7245073e53b0c13947c62ea505438450f4d00ef9964ec
7
+ data.tar.gz: 688a3b778193a4816d1a9abf7b302056a5c18d9b745b4829fd9c29fa2ab59450be70f42b82f3eb05bb6554609bb48a9efb4808fb4be72bd6929f1b0154d06ae5
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.13.6
1
+ 1.13.7
@@ -5,7 +5,7 @@
5
5
  * Portions Copyright 2008-2011 Apple Inc. All rights reserved.
6
6
  * @license Licensed under MIT license
7
7
  * See https://raw.github.com/emberjs/ember.js/master/LICENSE
8
- * @version 1.13.6
8
+ * @version 1.13.7
9
9
  */
10
10
 
11
11
  (function() {
@@ -1871,7 +1871,7 @@ enifed("ember-metal/chains", ["exports", "ember-metal/core", "ember-metal/proper
1871
1871
  exports.ChainNode = ChainNode;
1872
1872
  });
1873
1873
  // warn, assert, etc;
1874
- enifed("ember-metal/computed", ["exports", "ember-metal/property_set", "ember-metal/utils", "ember-metal/expand_properties", "ember-metal/error", "ember-metal/properties", "ember-metal/property_events", "ember-metal/dependent_keys"], function (exports, _emberMetalProperty_set, _emberMetalUtils, _emberMetalExpand_properties, _emberMetalError, _emberMetalProperties, _emberMetalProperty_events, _emberMetalDependent_keys) {
1874
+ enifed("ember-metal/computed", ["exports", "ember-metal/core", "ember-metal/property_set", "ember-metal/utils", "ember-metal/expand_properties", "ember-metal/error", "ember-metal/properties", "ember-metal/property_events", "ember-metal/dependent_keys"], function (exports, _emberMetalCore, _emberMetalProperty_set, _emberMetalUtils, _emberMetalExpand_properties, _emberMetalError, _emberMetalProperties, _emberMetalProperty_events, _emberMetalDependent_keys) {
1875
1875
  "use strict";
1876
1876
 
1877
1877
  /**
@@ -1974,7 +1974,7 @@ enifed("ember-metal/computed", ["exports", "ember-metal/property_set", "ember-me
1974
1974
  config.__ember_arity = config.length;
1975
1975
  this._getter = config;
1976
1976
  if (config.__ember_arity > 1) {
1977
- Ember.deprecate("Using the same function as getter and setter is deprecated.", false, {
1977
+ _emberMetalCore["default"].deprecate("Using the same function as getter and setter is deprecated.", false, {
1978
1978
  url: "http://emberjs.com/deprecations/v1.x/#toc_deprecate-using-the-same-function-as-getter-and-setter-in-computed-properties"
1979
1979
  });
1980
1980
  this._setter = config;
@@ -1991,10 +1991,10 @@ enifed("ember-metal/computed", ["exports", "ember-metal/property_set", "ember-me
1991
1991
  this._suspended = undefined;
1992
1992
  this._meta = undefined;
1993
1993
 
1994
- Ember.deprecate("Passing opts.cacheable to the CP constructor is deprecated. Invoke `volatile()` on the CP instead.", !opts || !opts.hasOwnProperty('cacheable'));
1994
+ _emberMetalCore["default"].deprecate("Passing opts.cacheable to the CP constructor is deprecated. Invoke `volatile()` on the CP instead.", !opts || !opts.hasOwnProperty('cacheable'));
1995
1995
  this._cacheable = opts && opts.cacheable !== undefined ? opts.cacheable : true; // TODO: Set always to `true` once this deprecation is gone.
1996
1996
  this._dependentKeys = opts && opts.dependentKeys;
1997
- Ember.deprecate("Passing opts.readOnly to the CP constructor is deprecated. All CPs are writable by default. You can invoke `readOnly()` on the CP to change this.", !opts || !opts.hasOwnProperty('readOnly'));
1997
+ _emberMetalCore["default"].deprecate("Passing opts.readOnly to the CP constructor is deprecated. All CPs are writable by default. You can invoke `readOnly()` on the CP to change this.", !opts || !opts.hasOwnProperty('readOnly'));
1998
1998
  this._readOnly = opts && (opts.readOnly !== undefined || !!opts.readOnly) || false; // TODO: Set always to `false` once this deprecation is gone.
1999
1999
  }
2000
2000
 
@@ -2020,7 +2020,7 @@ enifed("ember-metal/computed", ["exports", "ember-metal/property_set", "ember-me
2020
2020
  @public
2021
2021
  */
2022
2022
  ComputedPropertyPrototype.cacheable = function (aFlag) {
2023
- Ember.deprecate('ComputedProperty.cacheable() is deprecated. All computed properties are cacheable by default.');
2023
+ _emberMetalCore["default"].deprecate('ComputedProperty.cacheable() is deprecated. All computed properties are cacheable by default.');
2024
2024
  this._cacheable = aFlag !== false;
2025
2025
  return this;
2026
2026
  };
@@ -2069,9 +2069,9 @@ enifed("ember-metal/computed", ["exports", "ember-metal/property_set", "ember-me
2069
2069
  @public
2070
2070
  */
2071
2071
  ComputedPropertyPrototype.readOnly = function (readOnly) {
2072
- Ember.deprecate('Passing arguments to ComputedProperty.readOnly() is deprecated.', arguments.length === 0);
2072
+ _emberMetalCore["default"].deprecate('Passing arguments to ComputedProperty.readOnly() is deprecated.', arguments.length === 0);
2073
2073
  this._readOnly = readOnly === undefined || !!readOnly; // Force to true once this deprecation is gone
2074
- Ember.assert("Computed properties that define a setter using the new syntax cannot be read-only", !(this._readOnly && this._setter && this._setter !== this._getter));
2074
+ _emberMetalCore["default"].assert("Computed properties that define a setter using the new syntax cannot be read-only", !(this._readOnly && this._setter && this._setter !== this._getter));
2075
2075
  return this;
2076
2076
  };
2077
2077
 
@@ -2107,6 +2107,8 @@ enifed("ember-metal/computed", ["exports", "ember-metal/property_set", "ember-me
2107
2107
  var args;
2108
2108
 
2109
2109
  var addArg = function (property) {
2110
+ _emberMetalCore["default"].deprecate("Depending on arrays using a dependent key ending with `@each` is deprecated. " + ("Please refactor from `Ember.computed('" + property + "', function() {});` to `Ember.computed('" + property.slice(0, -6) + ".[]', function() {})`."), property.slice(-5) !== '@each', { id: 'ember-metal.@each-dependent-key-leaf', until: '2.0.0' });
2111
+
2110
2112
  args.push(property);
2111
2113
  };
2112
2114
 
@@ -2968,6 +2970,7 @@ enifed("ember-metal/computed_macros", ["exports", "ember-metal/core", "ember-met
2968
2970
  return value;
2969
2971
  });
2970
2972
 
2973
+ exports.and = and;
2971
2974
  /**
2972
2975
  A computed property which performs a logical `or` on the
2973
2976
  original values for the provided dependent properties.
@@ -2995,7 +2998,6 @@ enifed("ember-metal/computed_macros", ["exports", "ember-metal/core", "ember-met
2995
2998
  a logical `or` on the values of all the original values for properties.
2996
2999
  @public
2997
3000
  */
2998
- exports.and = and;
2999
3001
  var or = generateComputedWithProperties(function (properties) {
3000
3002
  for (var key in properties) {
3001
3003
  if (properties.hasOwnProperty(key) && properties[key]) {
@@ -3005,6 +3007,7 @@ enifed("ember-metal/computed_macros", ["exports", "ember-metal/core", "ember-met
3005
3007
  return false;
3006
3008
  });
3007
3009
 
3010
+ exports.or = or;
3008
3011
  /**
3009
3012
  A computed property that returns the first truthy value
3010
3013
  from a list of dependent properties.
@@ -3031,7 +3034,6 @@ enifed("ember-metal/computed_macros", ["exports", "ember-metal/core", "ember-met
3031
3034
  @deprecated Use `Ember.computed.or` instead.
3032
3035
  @public
3033
3036
  */
3034
- exports.or = or;
3035
3037
  var any = generateComputedWithProperties(function (properties) {
3036
3038
  _emberMetalCore["default"].deprecate('Usage of Ember.computed.any is deprecated, use `Ember.computed.or` instead.');
3037
3039
  for (var key in properties) {
@@ -3042,6 +3044,7 @@ enifed("ember-metal/computed_macros", ["exports", "ember-metal/core", "ember-met
3042
3044
  return null;
3043
3045
  });
3044
3046
 
3047
+ exports.any = any;
3045
3048
  /**
3046
3049
  A computed property that returns the array of values
3047
3050
  for the provided dependent properties.
@@ -3068,7 +3071,6 @@ enifed("ember-metal/computed_macros", ["exports", "ember-metal/core", "ember-met
3068
3071
  values of all passed in properties to an array.
3069
3072
  @public
3070
3073
  */
3071
- exports.any = any;
3072
3074
  var collect = generateComputedWithProperties(function (properties) {
3073
3075
  var res = _emberMetalCore["default"].A();
3074
3076
  for (var key in properties) {
@@ -3083,6 +3085,7 @@ enifed("ember-metal/computed_macros", ["exports", "ember-metal/core", "ember-met
3083
3085
  return res;
3084
3086
  });
3085
3087
 
3088
+ exports.collect = collect;
3086
3089
  /**
3087
3090
  Creates a new property that is an alias for another property
3088
3091
  on an object. Calls to `get` or `set` this property behave as
@@ -3144,7 +3147,6 @@ enifed("ember-metal/computed_macros", ["exports", "ember-metal/core", "ember-met
3144
3147
  one way computed property to the original value for property.
3145
3148
  @public
3146
3149
  */
3147
- exports.collect = collect;
3148
3150
 
3149
3151
  function oneWay(dependentKey) {
3150
3152
  return _emberMetalAlias["default"](dependentKey).oneWay();
@@ -3297,7 +3299,7 @@ enifed('ember-metal/core', ['exports'], function (exports) {
3297
3299
 
3298
3300
  @class Ember
3299
3301
  @static
3300
- @version 1.13.6
3302
+ @version 1.13.7
3301
3303
  @public
3302
3304
  */
3303
3305
 
@@ -3331,11 +3333,11 @@ enifed('ember-metal/core', ['exports'], function (exports) {
3331
3333
 
3332
3334
  @property VERSION
3333
3335
  @type String
3334
- @default '1.13.6'
3336
+ @default '1.13.7'
3335
3337
  @static
3336
3338
  @public
3337
3339
  */
3338
- Ember.VERSION = '1.13.6';
3340
+ Ember.VERSION = '1.13.7';
3339
3341
 
3340
3342
  /**
3341
3343
  The hash of environment variables used to control various configuration
@@ -3488,7 +3490,6 @@ enifed('ember-metal/core', ['exports'], function (exports) {
3488
3490
  An empty function useful for some operations. Always returns `this`.
3489
3491
 
3490
3492
  @method K
3491
- @private
3492
3493
  @return {Object}
3493
3494
  @public
3494
3495
  */
@@ -4555,7 +4556,8 @@ enifed('ember-metal/expand_properties', ['exports', 'ember-metal/error', 'ember-
4555
4556
  Ember.expandProperties('{foo}.bar.{baz}') //=> 'foo.bar.baz'
4556
4557
  ```
4557
4558
 
4558
- @method
4559
+ @method expandProperties
4560
+ @for Ember
4559
4561
  @private
4560
4562
  @param {String} pattern The property pattern to expand.
4561
4563
  @param {Function} callback The callback to invoke. It is invoked once per
@@ -5917,7 +5919,7 @@ enifed('ember-metal/merge', ['exports', 'ember-metal/keys'], function (exports,
5917
5919
  @param {Object} original The object to merge into
5918
5920
  @param {Object} updates The object to copy properties from
5919
5921
  @return {Object}
5920
- @private
5922
+ @public
5921
5923
  */
5922
5924
 
5923
5925
  function merge(original, updates) {
@@ -6804,6 +6806,8 @@ enifed("ember-metal/mixin", ["exports", "ember-metal/core", "ember-metal/merge",
6804
6806
  var paths;
6805
6807
 
6806
6808
  var addWatchedProperty = function (path) {
6809
+ _emberMetalCore["default"].deprecate("Depending on arrays using a dependent key ending with `@each` is deprecated. " + ("Please refactor from `Ember.observer('" + path + "', function() {});` to `Ember.computed('" + path.slice(0, -6) + ".[]', function() {})`."), path.slice(-5) !== '@each', { id: 'ember-metal.@each-dependent-key-leaf', until: '2.0.0' });
6810
+
6807
6811
  paths.push(path);
6808
6812
  };
6809
6813
  var _paths = args.slice(0, -1);
@@ -7980,7 +7984,7 @@ enifed("ember-metal/property_events", ["exports", "ember-metal/utils", "ember-me
7980
7984
  exports.endPropertyChanges = endPropertyChanges;
7981
7985
  exports.changeProperties = changeProperties;
7982
7986
  });
7983
- enifed("ember-metal/property_get", ["exports", "ember-metal/core", "ember-metal/error", "ember-metal/path_cache", "ember-metal/platform/define_property", "ember-metal/utils", "ember-metal/is_none"], function (exports, _emberMetalCore, _emberMetalError, _emberMetalPath_cache, _emberMetalPlatformDefine_property, _emberMetalUtils, _emberMetalIs_none) {
7987
+ enifed("ember-metal/property_get", ["exports", "ember-metal/core", "ember-metal/error", "ember-metal/path_cache", "ember-metal/platform/define_property", "ember-metal/is_none"], function (exports, _emberMetalCore, _emberMetalError, _emberMetalPath_cache, _emberMetalPlatformDefine_property, _emberMetalIs_none) {
7984
7988
  /**
7985
7989
  @module ember-metal
7986
7990
  */
@@ -7994,10 +7998,6 @@ enifed("ember-metal/property_get", ["exports", "ember-metal/core", "ember-metal/
7994
7998
 
7995
7999
  var FIRST_KEY = /^([^\.]+)/;
7996
8000
 
7997
- var INTERCEPT_GET = _emberMetalUtils.symbol("INTERCEPT_GET");
7998
- exports.INTERCEPT_GET = INTERCEPT_GET;
7999
- var UNHANDLED_GET = _emberMetalUtils.symbol("UNHANDLED_GET");
8000
-
8001
8001
  // ..........................................................
8002
8002
  // GET AND SET
8003
8003
  //
@@ -8030,7 +8030,6 @@ enifed("ember-metal/property_get", ["exports", "ember-metal/core", "ember-metal/
8030
8030
  @return {Object} the property value or `null`.
8031
8031
  @public
8032
8032
  */
8033
- exports.UNHANDLED_GET = UNHANDLED_GET;
8034
8033
 
8035
8034
  function get(obj, keyName) {
8036
8035
  _emberMetalCore["default"].deprecate("Get must be called with two arguments; an object and a property key", arguments.length === 2);
@@ -8053,13 +8052,6 @@ enifed("ember-metal/property_get", ["exports", "ember-metal/core", "ember-metal/
8053
8052
  return _getPath(obj, keyName);
8054
8053
  }
8055
8054
 
8056
- if (obj && typeof obj[INTERCEPT_GET] === 'function') {
8057
- var result = obj[INTERCEPT_GET](obj, keyName);
8058
- if (result !== UNHANDLED_GET) {
8059
- return result;
8060
- }
8061
- }
8062
-
8063
8055
  var meta = obj['__ember_meta__'];
8064
8056
  var possibleDesc = obj[keyName];
8065
8057
  var desc = possibleDesc !== null && typeof possibleDesc === 'object' && possibleDesc.isDescriptor ? possibleDesc : undefined;
@@ -8173,14 +8165,11 @@ enifed("ember-metal/property_get", ["exports", "ember-metal/core", "ember-metal/
8173
8165
 
8174
8166
  exports["default"] = get;
8175
8167
  });
8176
- enifed("ember-metal/property_set", ["exports", "ember-metal/core", "ember-metal/property_get", "ember-metal/property_events", "ember-metal/properties", "ember-metal/error", "ember-metal/path_cache", "ember-metal/platform/define_property", "ember-metal/utils"], function (exports, _emberMetalCore, _emberMetalProperty_get, _emberMetalProperty_events, _emberMetalProperties, _emberMetalError, _emberMetalPath_cache, _emberMetalPlatformDefine_property, _emberMetalUtils) {
8168
+ enifed("ember-metal/property_set", ["exports", "ember-metal/core", "ember-metal/property_get", "ember-metal/property_events", "ember-metal/properties", "ember-metal/error", "ember-metal/path_cache", "ember-metal/platform/define_property"], function (exports, _emberMetalCore, _emberMetalProperty_get, _emberMetalProperty_events, _emberMetalProperties, _emberMetalError, _emberMetalPath_cache, _emberMetalPlatformDefine_property) {
8177
8169
  "use strict";
8178
8170
 
8179
8171
  exports.set = set;
8180
8172
  exports.trySet = trySet;
8181
- var INTERCEPT_SET = _emberMetalUtils.symbol("INTERCEPT_SET");
8182
- exports.INTERCEPT_SET = INTERCEPT_SET;
8183
- var UNHANDLED_SET = _emberMetalUtils.symbol("UNHANDLED_SET");
8184
8173
 
8185
8174
  /**
8186
8175
  Sets the value of a property on an object, respecting computed properties
@@ -8196,7 +8185,6 @@ enifed("ember-metal/property_set", ["exports", "ember-metal/core", "ember-metal/
8196
8185
  @return {Object} the passed value.
8197
8186
  @public
8198
8187
  */
8199
- exports.UNHANDLED_SET = UNHANDLED_SET;
8200
8188
 
8201
8189
  function set(obj, keyName, value, tolerant) {
8202
8190
  if (typeof obj === 'string') {
@@ -8214,16 +8202,6 @@ enifed("ember-metal/property_set", ["exports", "ember-metal/core", "ember-metal/
8214
8202
  return setPath(obj, keyName, value, tolerant);
8215
8203
  }
8216
8204
 
8217
- // This path exists purely to implement backwards-compatible
8218
- // effects (specifically, setting a property on a view may
8219
- // invoke a mutator on `attrs`).
8220
- if (obj && typeof obj[INTERCEPT_SET] === 'function') {
8221
- var result = obj[INTERCEPT_SET](obj, keyName, value, tolerant);
8222
- if (result !== UNHANDLED_SET) {
8223
- return result;
8224
- }
8225
- }
8226
-
8227
8205
  var meta, possibleDesc, desc;
8228
8206
  if (obj) {
8229
8207
  meta = obj['__ember_meta__'];
@@ -10212,6 +10190,7 @@ enifed("ember-metal/utils", ["exports", "ember-metal/core", "ember-metal/platfor
10212
10190
  descriptor: undefinedDescriptor
10213
10191
  };
10214
10192
 
10193
+ exports.NEXT_SUPER_PROPERTY = NEXT_SUPER_PROPERTY;
10215
10194
  /**
10216
10195
  Generates a new guid, optionally saving the guid to the object that you
10217
10196
  pass in. You will rarely need to use this method. Instead you should
@@ -10229,7 +10208,6 @@ enifed("ember-metal/utils", ["exports", "ember-metal/core", "ember-metal/platfor
10229
10208
  separate the guid into separate namespaces.
10230
10209
  @return {String} the guid
10231
10210
  */
10232
- exports.NEXT_SUPER_PROPERTY = NEXT_SUPER_PROPERTY;
10233
10211
 
10234
10212
  function generateGuid(obj, prefix) {
10235
10213
  if (!prefix) {
@@ -11227,7 +11205,7 @@ enifed("ember-metal/watching", ["exports", "ember-metal/utils", "ember-metal/cha
11227
11205
  }
11228
11206
  }
11229
11207
  });
11230
- enifed("ember-template-compiler", ["exports", "ember-metal/core", "ember-template-compiler/system/precompile", "ember-template-compiler/system/compile", "ember-template-compiler/system/template", "ember-template-compiler/plugins", "ember-template-compiler/plugins/transform-each-in-to-block-params", "ember-template-compiler/plugins/transform-with-as-to-hash", "ember-template-compiler/plugins/transform-bind-attr-to-attributes", "ember-template-compiler/plugins/transform-each-into-collection", "ember-template-compiler/plugins/transform-single-arg-each", "ember-template-compiler/plugins/transform-old-binding-syntax", "ember-template-compiler/plugins/transform-old-class-binding-syntax", "ember-template-compiler/plugins/transform-item-class", "ember-template-compiler/plugins/transform-component-attrs-into-mut", "ember-template-compiler/plugins/transform-component-curly-to-readonly", "ember-template-compiler/plugins/transform-angle-bracket-components", "ember-template-compiler/plugins/transform-input-on-to-onEvent", "ember-template-compiler/plugins/deprecate-view-and-controller-paths", "ember-template-compiler/plugins/deprecate-view-helper", "ember-template-compiler/compat"], function (exports, _emberMetalCore, _emberTemplateCompilerSystemPrecompile, _emberTemplateCompilerSystemCompile, _emberTemplateCompilerSystemTemplate, _emberTemplateCompilerPlugins, _emberTemplateCompilerPluginsTransformEachInToBlockParams, _emberTemplateCompilerPluginsTransformWithAsToHash, _emberTemplateCompilerPluginsTransformBindAttrToAttributes, _emberTemplateCompilerPluginsTransformEachIntoCollection, _emberTemplateCompilerPluginsTransformSingleArgEach, _emberTemplateCompilerPluginsTransformOldBindingSyntax, _emberTemplateCompilerPluginsTransformOldClassBindingSyntax, _emberTemplateCompilerPluginsTransformItemClass, _emberTemplateCompilerPluginsTransformComponentAttrsIntoMut, _emberTemplateCompilerPluginsTransformComponentCurlyToReadonly, _emberTemplateCompilerPluginsTransformAngleBracketComponents, _emberTemplateCompilerPluginsTransformInputOnToOnEvent, _emberTemplateCompilerPluginsDeprecateViewAndControllerPaths, _emberTemplateCompilerPluginsDeprecateViewHelper, _emberTemplateCompilerCompat) {
11208
+ enifed("ember-template-compiler", ["exports", "ember-metal/core", "ember-template-compiler/system/precompile", "ember-template-compiler/system/compile", "ember-template-compiler/system/template", "ember-template-compiler/plugins", "ember-template-compiler/plugins/transform-each-in-to-block-params", "ember-template-compiler/plugins/transform-with-as-to-hash", "ember-template-compiler/plugins/transform-bind-attr-to-attributes", "ember-template-compiler/plugins/transform-each-into-collection", "ember-template-compiler/plugins/transform-single-arg-each", "ember-template-compiler/plugins/transform-old-binding-syntax", "ember-template-compiler/plugins/transform-old-class-binding-syntax", "ember-template-compiler/plugins/transform-item-class", "ember-template-compiler/plugins/transform-component-attrs-into-mut", "ember-template-compiler/plugins/transform-component-curly-to-readonly", "ember-template-compiler/plugins/transform-angle-bracket-components", "ember-template-compiler/plugins/transform-input-on-to-onEvent", "ember-template-compiler/plugins/deprecate-view-and-controller-paths", "ember-template-compiler/plugins/deprecate-view-helper", "ember-template-compiler/plugins/deprecate-with-controller", "ember-template-compiler/plugins/deprecate-unbound-block-and-multi-param", "ember-template-compiler/compat"], function (exports, _emberMetalCore, _emberTemplateCompilerSystemPrecompile, _emberTemplateCompilerSystemCompile, _emberTemplateCompilerSystemTemplate, _emberTemplateCompilerPlugins, _emberTemplateCompilerPluginsTransformEachInToBlockParams, _emberTemplateCompilerPluginsTransformWithAsToHash, _emberTemplateCompilerPluginsTransformBindAttrToAttributes, _emberTemplateCompilerPluginsTransformEachIntoCollection, _emberTemplateCompilerPluginsTransformSingleArgEach, _emberTemplateCompilerPluginsTransformOldBindingSyntax, _emberTemplateCompilerPluginsTransformOldClassBindingSyntax, _emberTemplateCompilerPluginsTransformItemClass, _emberTemplateCompilerPluginsTransformComponentAttrsIntoMut, _emberTemplateCompilerPluginsTransformComponentCurlyToReadonly, _emberTemplateCompilerPluginsTransformAngleBracketComponents, _emberTemplateCompilerPluginsTransformInputOnToOnEvent, _emberTemplateCompilerPluginsDeprecateViewAndControllerPaths, _emberTemplateCompilerPluginsDeprecateViewHelper, _emberTemplateCompilerPluginsDeprecateWithController, _emberTemplateCompilerPluginsDeprecateUnboundBlockAndMultiParam, _emberTemplateCompilerCompat) {
11231
11209
  "use strict";
11232
11210
 
11233
11211
  _emberTemplateCompilerPlugins.registerPlugin('ast', _emberTemplateCompilerPluginsTransformWithAsToHash["default"]);
@@ -11244,6 +11222,8 @@ enifed("ember-template-compiler", ["exports", "ember-metal/core", "ember-templat
11244
11222
  _emberTemplateCompilerPlugins.registerPlugin('ast', _emberTemplateCompilerPluginsTransformInputOnToOnEvent["default"]);
11245
11223
  _emberTemplateCompilerPlugins.registerPlugin('ast', _emberTemplateCompilerPluginsDeprecateViewAndControllerPaths["default"]);
11246
11224
  _emberTemplateCompilerPlugins.registerPlugin('ast', _emberTemplateCompilerPluginsDeprecateViewHelper["default"]);
11225
+ _emberTemplateCompilerPlugins.registerPlugin('ast', _emberTemplateCompilerPluginsDeprecateWithController["default"]);
11226
+ _emberTemplateCompilerPlugins.registerPlugin('ast', _emberTemplateCompilerPluginsDeprecateUnboundBlockAndMultiParam["default"]);
11247
11227
 
11248
11228
  exports._Ember = _emberMetalCore["default"];
11249
11229
  exports.precompile = _emberTemplateCompilerSystemPrecompile["default"];
@@ -11323,6 +11303,54 @@ enifed('ember-template-compiler/plugins', ['exports'], function (exports) {
11323
11303
 
11324
11304
  exports["default"] = plugins;
11325
11305
  });
11306
+ enifed('ember-template-compiler/plugins/deprecate-unbound-block-and-multi-param', ['exports', 'ember-metal/core', 'ember-template-compiler/system/calculate-location-display'], function (exports, _emberMetalCore, _emberTemplateCompilerSystemCalculateLocationDisplay) {
11307
+ 'use strict';
11308
+
11309
+ function DeprecateUnboundBlockAndMultiParam(options) {
11310
+ // set later within HTMLBars to the syntax package
11311
+ this.syntax = null;
11312
+ this.options = options || {};
11313
+ }
11314
+
11315
+ DeprecateUnboundBlockAndMultiParam.prototype.transform = function (ast) {
11316
+ var pluginContext = this;
11317
+ var walker = new pluginContext.syntax.Walker();
11318
+ var moduleName = pluginContext.options.moduleName;
11319
+
11320
+ walker.visit(ast, function (node) {
11321
+
11322
+ if (pluginContext.isBlockUsage(node)) {
11323
+ var moduleInfo = _emberTemplateCompilerSystemCalculateLocationDisplay["default"](moduleName, node.loc);
11324
+
11325
+ _emberMetalCore["default"].deprecate('Using the {{unbound}} helper with a block ' + moduleInfo + 'is deprecated and will be removed in 2.0.0.', false, {
11326
+ id: 'ember-template-compiler.unbound-block',
11327
+ until: '2.0.0',
11328
+ url: 'http://emberjs.com/deprecations/v1.x/#toc_block-and-multi-argument-unbound-helper'
11329
+ });
11330
+ } else if (pluginContext.hasMultipleParams(node)) {
11331
+ var moduleInfo = _emberTemplateCompilerSystemCalculateLocationDisplay["default"](moduleName, node.loc);
11332
+
11333
+ _emberMetalCore["default"].deprecate('Using the {{unbound}} helper with multiple params ' + moduleInfo + 'is deprecated and will be removed in 2.0.0. Please refactor to nested helper usage.', false, {
11334
+ id: 'ember-template-compiler.unbound-multiple-params',
11335
+ until: '2.0.0',
11336
+ url: 'http://emberjs.com/deprecations/v1.x/#toc_block-and-multi-argument-unbound-helper'
11337
+ });
11338
+ }
11339
+ });
11340
+
11341
+ return ast;
11342
+ };
11343
+
11344
+ DeprecateUnboundBlockAndMultiParam.prototype.isBlockUsage = function (node) {
11345
+ return node.type === 'BlockStatement' && node.path.original === 'unbound';
11346
+ };
11347
+
11348
+ DeprecateUnboundBlockAndMultiParam.prototype.hasMultipleParams = function (node) {
11349
+ return (node.type === 'BlockStatement' || node.type === 'MustacheStatement') && node.path.original === 'unbound' && node.params.length > 1;
11350
+ };
11351
+
11352
+ exports["default"] = DeprecateUnboundBlockAndMultiParam;
11353
+ });
11326
11354
  enifed("ember-template-compiler/plugins/deprecate-view-and-controller-paths", ["exports", "ember-metal/core", "ember-template-compiler/system/calculate-location-display"], function (exports, _emberMetalCore, _emberTemplateCompilerSystemCalculateLocationDisplay) {
11327
11355
  "use strict";
11328
11356
 
@@ -11452,6 +11480,65 @@ enifed("ember-template-compiler/plugins/deprecate-view-helper", ["exports", "emb
11452
11480
 
11453
11481
  exports["default"] = DeprecateViewHelper;
11454
11482
  });
11483
+ enifed('ember-template-compiler/plugins/deprecate-with-controller', ['exports', 'ember-metal/core', 'ember-template-compiler/system/calculate-location-display'], function (exports, _emberMetalCore, _emberTemplateCompilerSystemCalculateLocationDisplay) {
11484
+ 'use strict';
11485
+
11486
+ /**
11487
+ @module ember
11488
+ @submodule ember-template-compiler
11489
+ */
11490
+
11491
+ /**
11492
+ An HTMLBars AST transformation that deprecates usage of `controller` with the `{{with}}`
11493
+ helper.
11494
+
11495
+ @private
11496
+ @class DeprecateWithController
11497
+ */
11498
+ function DeprecateWithController(options) {
11499
+ // set later within HTMLBars to the syntax package
11500
+ this.syntax = null;
11501
+ this.options = options || {};
11502
+ }
11503
+
11504
+ /**
11505
+ @private
11506
+ @method transform
11507
+ @param {AST} ast The AST to be transformed.
11508
+ */
11509
+ DeprecateWithController.prototype.transform = function DeprecateWithController_transform(ast) {
11510
+ var pluginContext = this;
11511
+ var walker = new pluginContext.syntax.Walker();
11512
+ var moduleName = pluginContext.options.moduleName;
11513
+
11514
+ walker.visit(ast, function (node) {
11515
+ if (pluginContext.validate(node)) {
11516
+ var moduleInfo = _emberTemplateCompilerSystemCalculateLocationDisplay["default"](moduleName, node.loc);
11517
+
11518
+ _emberMetalCore["default"].deprecate('Using the {{with}} helper with a `controller` specified ' + moduleInfo + 'is deprecated and will be removed in 2.0.0.', false, { id: 'ember-template-compiler.with-controller', until: '2.0.0' });
11519
+ }
11520
+ });
11521
+
11522
+ return ast;
11523
+ };
11524
+
11525
+ DeprecateWithController.prototype.validate = function TransformWithAsToHash_validate(node) {
11526
+ return (node.type === 'BlockStatement' || node.type === 'MustacheStatement') && node.path.original === 'with' && hashPairForKey(node.hash, 'controller');
11527
+ };
11528
+
11529
+ function hashPairForKey(hash, key) {
11530
+ for (var i = 0, l = hash.pairs.length; i < l; i++) {
11531
+ var pair = hash.pairs[i];
11532
+ if (pair.key === key) {
11533
+ return pair;
11534
+ }
11535
+ }
11536
+
11537
+ return false;
11538
+ }
11539
+
11540
+ exports["default"] = DeprecateWithController;
11541
+ });
11455
11542
  enifed('ember-template-compiler/plugins/transform-angle-bracket-components', ['exports'], function (exports) {
11456
11543
  'use strict';
11457
11544
 
@@ -12554,7 +12641,7 @@ enifed("ember-template-compiler/system/compile_options", ["exports", "ember-meta
12554
12641
 
12555
12642
  options.buildMeta = function buildMeta(program) {
12556
12643
  return {
12557
- revision: 'Ember@1.13.6',
12644
+ revision: 'Ember@1.13.7',
12558
12645
  loc: program.loc,
12559
12646
  moduleName: options.moduleName
12560
12647
  };
@@ -14493,7 +14580,7 @@ enifed("htmlbars-runtime/hooks", ["exports", "./render", "../morph-range/morph-l
14493
14580
  var handledMorphs = renderState.handledMorphs;
14494
14581
  var key = undefined;
14495
14582
 
14496
- if (handledMorphs[_key]) {
14583
+ if (_key in handledMorphs) {
14497
14584
  // In this branch we are dealing with a duplicate key. The strategy
14498
14585
  // is to take the original key and append a counter to it that is
14499
14586
  // incremented every time the key is reused. In order to greatly
@@ -15121,6 +15208,7 @@ enifed("htmlbars-runtime/hooks", ["exports", "./render", "../morph-range/morph-l
15121
15208
 
15122
15209
  };
15123
15210
 
15211
+ exports.keywords = keywords;
15124
15212
  /**
15125
15213
  Host Hook: partial
15126
15214
 
@@ -15147,7 +15235,6 @@ enifed("htmlbars-runtime/hooks", ["exports", "./render", "../morph-range/morph-l
15147
15235
  The host hook should invoke the referenced partial with
15148
15236
  the ambient `self`.
15149
15237
  */
15150
- exports.keywords = keywords;
15151
15238
 
15152
15239
  function partial(renderNode, env, scope, path) {
15153
15240
  var template = env.partials[path];
@@ -17488,10 +17575,10 @@ enifed('htmlbars-syntax/handlebars/utils', ['exports'], function (exports) {
17488
17575
 
17489
17576
  var toString = Object.prototype.toString;
17490
17577
 
17578
+ exports.toString = toString;
17491
17579
  // Sourced from lodash
17492
17580
  // https://github.com/bestiejs/lodash/blob/master/LICENSE.txt
17493
17581
  /*eslint-disable func-style, no-var */
17494
- exports.toString = toString;
17495
17582
  var isFunction = function (value) {
17496
17583
  return typeof value === 'function';
17497
17584
  };
@@ -17503,16 +17590,16 @@ enifed('htmlbars-syntax/handlebars/utils', ['exports'], function (exports) {
17503
17590
  };
17504
17591
  }
17505
17592
  var isFunction;
17593
+ exports.isFunction = isFunction;
17506
17594
  /*eslint-enable func-style, no-var */
17507
17595
 
17508
17596
  /* istanbul ignore next */
17509
- exports.isFunction = isFunction;
17510
17597
  var isArray = Array.isArray || function (value) {
17511
17598
  return value && typeof value === 'object' ? toString.call(value) === '[object Array]' : false;
17512
17599
  };
17513
17600
 
17514
- // Older IE versions do not directly support indexOf so we must implement our own, sadly.
17515
17601
  exports.isArray = isArray;
17602
+ // Older IE versions do not directly support indexOf so we must implement our own, sadly.
17516
17603
 
17517
17604
  function indexOf(array, value) {
17518
17605
  for (var i = 0, len = array.length; i < len; i++) {
@@ -18476,10 +18563,10 @@ enifed('htmlbars-util/handlebars/utils', ['exports'], function (exports) {
18476
18563
 
18477
18564
  var toString = Object.prototype.toString;
18478
18565
 
18566
+ exports.toString = toString;
18479
18567
  // Sourced from lodash
18480
18568
  // https://github.com/bestiejs/lodash/blob/master/LICENSE.txt
18481
18569
  /*eslint-disable func-style, no-var */
18482
- exports.toString = toString;
18483
18570
  var isFunction = function (value) {
18484
18571
  return typeof value === 'function';
18485
18572
  };
@@ -18491,16 +18578,16 @@ enifed('htmlbars-util/handlebars/utils', ['exports'], function (exports) {
18491
18578
  };
18492
18579
  }
18493
18580
  var isFunction;
18581
+ exports.isFunction = isFunction;
18494
18582
  /*eslint-enable func-style, no-var */
18495
18583
 
18496
18584
  /* istanbul ignore next */
18497
- exports.isFunction = isFunction;
18498
18585
  var isArray = Array.isArray || function (value) {
18499
18586
  return value && typeof value === 'object' ? toString.call(value) === '[object Array]' : false;
18500
18587
  };
18501
18588
 
18502
- // Older IE versions do not directly support indexOf so we must implement our own, sadly.
18503
18589
  exports.isArray = isArray;
18590
+ // Older IE versions do not directly support indexOf so we must implement our own, sadly.
18504
18591
 
18505
18592
  function indexOf(array, value) {
18506
18593
  for (var i = 0, len = array.length; i < len; i++) {