ember-source 2.6.0.beta.3 → 2.6.0.beta.4

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: 086a0a3cf25b6ce5c88a612cc153c8f2f3d3a456
4
- data.tar.gz: beee57123ee4957e7883a7ca67d4e122ba07ab24
3
+ metadata.gz: 178f33c431c325fc8c799d972baab672b75e4f0e
4
+ data.tar.gz: 0f860ac77e9608f870b15fe5fa06ce45d42e8381
5
5
  SHA512:
6
- metadata.gz: e8d696cd7271578a9703a8d9869d0f1821640f728fe409815dded1de2a63a1681bcbbb05765de4673c3419d8af52bf4d02863c9d1a1802dbd24425e64da3571f
7
- data.tar.gz: 572a0d900acf9fc3f8113e0f1673ac219134913de0017a52c2c1e4de3dc0d3f0e201d0023b029ec802aca12aba4d7436c2c48ccc10de620691bdf16228c65dd3
6
+ metadata.gz: a07fbccbfacb11556ad319bc0645aee1d4c6a67a4eddf53e18b26a80ac982ae08684ca352e928d49e1f20dd37a71d0e9dba07c9d51501a5362d2b0d2781ef938
7
+ data.tar.gz: 0ae2c88403bd0072779de7c1506a3f8d31dc54eb7d49f464cc1f8bcbdd75240901d9b28baacda0e8d04bd9697e89c68f6404794236bd7597cc23808964e50528
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.6.0-beta.3
1
+ 2.6.0-beta.4
@@ -6,7 +6,7 @@
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.6.0-beta.3
9
+ * @version 2.6.0-beta.4
10
10
  */
11
11
 
12
12
  var enifed, requireModule, require, Ember;
@@ -4781,7 +4781,7 @@ enifed('ember-metal/core', ['exports', 'require'], function (exports, _require)
4781
4781
 
4782
4782
  @class Ember
4783
4783
  @static
4784
- @version 2.6.0-beta.3
4784
+ @version 2.6.0-beta.4
4785
4785
  @public
4786
4786
  */
4787
4787
 
@@ -4823,11 +4823,11 @@ enifed('ember-metal/core', ['exports', 'require'], function (exports, _require)
4823
4823
 
4824
4824
  @property VERSION
4825
4825
  @type String
4826
- @default '2.6.0-beta.3'
4826
+ @default '2.6.0-beta.4'
4827
4827
  @static
4828
4828
  @public
4829
4829
  */
4830
- Ember.VERSION = '2.6.0-beta.3';
4830
+ Ember.VERSION = '2.6.0-beta.4';
4831
4831
 
4832
4832
  /**
4833
4833
  The hash of environment variables used to control various configuration
@@ -9423,6 +9423,12 @@ enifed('ember-metal/property_get', ['exports', 'ember-metal/debug', 'ember-metal
9423
9423
  exports._getPath = _getPath;
9424
9424
  exports.getWithDefault = getWithDefault;
9425
9425
 
9426
+ var ALLOWABLE_TYPES = {
9427
+ object: true,
9428
+ function: true,
9429
+ string: true
9430
+ };
9431
+
9426
9432
  // ..........................................................
9427
9433
  // GET AND SET
9428
9434
  //
@@ -9491,11 +9497,10 @@ enifed('ember-metal/property_get', ['exports', 'ember-metal/debug', 'ember-metal
9491
9497
  function _getPath(root, path) {
9492
9498
  var obj = root;
9493
9499
  var parts = path.split('.');
9494
- var len = parts.length;
9495
9500
 
9496
- for (var i = 0; i < len; i++) {
9497
- if (obj == null) {
9498
- return obj;
9501
+ for (var i = 0; i < parts.length; i++) {
9502
+ if (!isGettable(obj)) {
9503
+ return undefined;
9499
9504
  }
9500
9505
 
9501
9506
  obj = get(obj, parts[i]);
@@ -9508,6 +9513,14 @@ enifed('ember-metal/property_get', ['exports', 'ember-metal/debug', 'ember-metal
9508
9513
  return obj;
9509
9514
  }
9510
9515
 
9516
+ function isGettable(obj) {
9517
+ if (obj == null) {
9518
+ return false;
9519
+ }
9520
+
9521
+ return ALLOWABLE_TYPES[typeof obj];
9522
+ }
9523
+
9511
9524
  /**
9512
9525
  Retrieves the value of a property from an Object, or a default value in the
9513
9526
  case that the property returns `undefined`.
@@ -6,7 +6,7 @@
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.6.0-beta.3
9
+ * @version 2.6.0-beta.4
10
10
  */
11
11
 
12
12
  var enifed, requireModule, require, Ember;
@@ -3988,7 +3988,7 @@ enifed('ember-metal/core', ['exports', 'require'], function (exports, _require)
3988
3988
 
3989
3989
  @class Ember
3990
3990
  @static
3991
- @version 2.6.0-beta.3
3991
+ @version 2.6.0-beta.4
3992
3992
  @public
3993
3993
  */
3994
3994
 
@@ -4030,11 +4030,11 @@ enifed('ember-metal/core', ['exports', 'require'], function (exports, _require)
4030
4030
 
4031
4031
  @property VERSION
4032
4032
  @type String
4033
- @default '2.6.0-beta.3'
4033
+ @default '2.6.0-beta.4'
4034
4034
  @static
4035
4035
  @public
4036
4036
  */
4037
- Ember.VERSION = '2.6.0-beta.3';
4037
+ Ember.VERSION = '2.6.0-beta.4';
4038
4038
 
4039
4039
  /**
4040
4040
  The hash of environment variables used to control various configuration
@@ -8611,6 +8611,12 @@ enifed('ember-metal/property_get', ['exports', 'ember-metal/debug', 'ember-metal
8611
8611
  exports._getPath = _getPath;
8612
8612
  exports.getWithDefault = getWithDefault;
8613
8613
 
8614
+ var ALLOWABLE_TYPES = {
8615
+ object: true,
8616
+ function: true,
8617
+ string: true
8618
+ };
8619
+
8614
8620
  // ..........................................................
8615
8621
  // GET AND SET
8616
8622
  //
@@ -8679,11 +8685,10 @@ enifed('ember-metal/property_get', ['exports', 'ember-metal/debug', 'ember-metal
8679
8685
  function _getPath(root, path) {
8680
8686
  var obj = root;
8681
8687
  var parts = path.split('.');
8682
- var len = parts.length;
8683
8688
 
8684
- for (var i = 0; i < len; i++) {
8685
- if (obj == null) {
8686
- return obj;
8689
+ for (var i = 0; i < parts.length; i++) {
8690
+ if (!isGettable(obj)) {
8691
+ return undefined;
8687
8692
  }
8688
8693
 
8689
8694
  obj = get(obj, parts[i]);
@@ -8696,6 +8701,14 @@ enifed('ember-metal/property_get', ['exports', 'ember-metal/debug', 'ember-metal
8696
8701
  return obj;
8697
8702
  }
8698
8703
 
8704
+ function isGettable(obj) {
8705
+ if (obj == null) {
8706
+ return false;
8707
+ }
8708
+
8709
+ return ALLOWABLE_TYPES[typeof obj];
8710
+ }
8711
+
8699
8712
  /**
8700
8713
  Retrieves the value of a property from an Object, or a default value in the
8701
8714
  case that the property returns `undefined`.
@@ -12173,21 +12186,21 @@ enifed('ember-template-compiler/plugins/transform-inline-link-to', ['exports'],
12173
12186
  var traverse = _syntax.traverse;
12174
12187
  var b = _syntax.builders;
12175
12188
 
12176
- function buildProgram(content) {
12177
- return b.program([buildStatement(content)]);
12189
+ function buildProgram(content, loc) {
12190
+ return b.program([buildStatement(content, loc)], null, loc);
12178
12191
  }
12179
12192
 
12180
- function buildStatement(content) {
12193
+ function buildStatement(content, loc) {
12181
12194
  switch (content.type) {
12182
12195
  case 'PathExpression':
12183
- return b.mustache(content);
12196
+ return b.mustache(content, null, null, null, loc);
12184
12197
 
12185
12198
  case 'SubExpression':
12186
- return b.mustache(content.path, content.params, content.hash);
12199
+ return b.mustache(content.path, content.params, content.hash, null, loc);
12187
12200
 
12188
12201
  // The default case handles literals.
12189
12202
  default:
12190
- return b.text('' + content.value);
12203
+ return b.text('' + content.value, loc);
12191
12204
  }
12192
12205
  }
12193
12206
 
@@ -12199,7 +12212,7 @@ enifed('ember-template-compiler/plugins/transform-inline-link-to', ['exports'],
12199
12212
  MustacheStatement: function (node) {
12200
12213
  if (node.path.original === 'link-to') {
12201
12214
  var content = node.escaped ? node.params[0] : unsafeHtml(node.params[0]);
12202
- return b.block('link-to', node.params.slice(1), node.hash, buildProgram(content));
12215
+ return b.block('link-to', node.params.slice(1), node.hash, buildProgram(content, node.loc), null, node.loc);
12203
12216
  }
12204
12217
  }
12205
12218
  });
@@ -12813,7 +12826,7 @@ enifed('ember-template-compiler/system/compile_options', ['exports', 'ember-meta
12813
12826
  options.buildMeta = function buildMeta(program) {
12814
12827
  return {
12815
12828
  fragmentReason: fragmentReason(program),
12816
- revision: 'Ember@2.6.0-beta.3',
12829
+ revision: 'Ember@2.6.0-beta.4',
12817
12830
  loc: program.loc,
12818
12831
  moduleName: options.moduleName
12819
12832
  };
@@ -6,7 +6,7 @@
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.6.0-beta.3
9
+ * @version 2.6.0-beta.4
10
10
  */
11
11
 
12
12
  var enifed, requireModule, require, Ember;
data/dist/ember.debug.js CHANGED
@@ -6,7 +6,7 @@
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.6.0-beta.3
9
+ * @version 2.6.0-beta.4
10
10
  */
11
11
 
12
12
  var enifed, requireModule, require, Ember;
@@ -7426,27 +7426,19 @@ enifed('ember-extension-support/index', ['exports', 'ember-metal/core', 'ember-e
7426
7426
  _emberMetalCore.default.DataAdapter = _emberExtensionSupportData_adapter.default;
7427
7427
  _emberMetalCore.default.ContainerDebugAdapter = _emberExtensionSupportContainer_debug_adapter.default;
7428
7428
  });
7429
- enifed('ember-htmlbars/compat', ['exports', 'ember-metal/core', 'ember-htmlbars/utils/string', 'ember-metal/debug'], function (exports, _emberMetalCore, _emberHtmlbarsUtilsString, _emberMetalDebug) {
7429
+ enifed('ember-htmlbars/compat', ['exports', 'ember-metal/core', 'ember-htmlbars/utils/string'], function (exports, _emberMetalCore, _emberHtmlbarsUtilsString) {
7430
7430
  'use strict';
7431
7431
 
7432
7432
  var EmberHandlebars = _emberMetalCore.default.Handlebars = _emberMetalCore.default.Handlebars || {};
7433
7433
 
7434
- EmberHandlebars.SafeString = function (value) {
7435
- _emberMetalDebug.deprecate('Ember.Handlebars.SafeString is deprecated in favor of Ember.String.htmlSafe', false, {
7436
- id: 'ember-htmlbars.ember-handlebars-safestring',
7437
- until: '3.0.0',
7438
- url: 'http://emberjs.com/deprecations/v2.x#toc_use-ember-string-htmlsafe-over-ember-handlebars-safestring'
7439
- });
7440
-
7441
- return _emberHtmlbarsUtilsString.htmlSafe(value);
7442
- };
7443
-
7434
+ EmberHandlebars.SafeString = _emberHtmlbarsUtilsString.SafeString;
7444
7435
  EmberHandlebars.Utils = {
7445
7436
  escapeExpression: _emberHtmlbarsUtilsString.escapeExpression
7446
7437
  };
7447
7438
 
7448
7439
  exports.default = EmberHandlebars;
7449
7440
  });
7441
+ // for Handlebars export
7450
7442
  enifed('ember-htmlbars/env', ['exports', 'ember-metal', 'ember-metal/environment', 'htmlbars-runtime', 'ember-metal/assign', 'ember-htmlbars/hooks/subexpr', 'ember-htmlbars/hooks/concat', 'ember-htmlbars/hooks/link-render-node', 'ember-htmlbars/hooks/create-fresh-scope', 'ember-htmlbars/hooks/bind-shadow-scope', 'ember-htmlbars/hooks/bind-self', 'ember-htmlbars/hooks/bind-scope', 'ember-htmlbars/hooks/bind-local', 'ember-htmlbars/hooks/bind-block', 'ember-htmlbars/hooks/update-self', 'ember-htmlbars/hooks/get-root', 'ember-htmlbars/hooks/get-child', 'ember-htmlbars/hooks/get-block', 'ember-htmlbars/hooks/get-value', 'ember-htmlbars/hooks/get-cell-or-value', 'ember-htmlbars/hooks/cleanup-render-node', 'ember-htmlbars/hooks/destroy-render-node', 'ember-htmlbars/hooks/did-render-node', 'ember-htmlbars/hooks/will-cleanup-tree', 'ember-htmlbars/hooks/did-cleanup-tree', 'ember-htmlbars/hooks/classify', 'ember-htmlbars/hooks/component', 'ember-htmlbars/hooks/lookup-helper', 'ember-htmlbars/hooks/has-helper', 'ember-htmlbars/hooks/invoke-helper', 'ember-htmlbars/hooks/element', 'ember-htmlbars/helpers', 'ember-htmlbars/keywords', 'ember-htmlbars/system/dom-helper', 'ember-htmlbars/keywords/debugger', 'ember-htmlbars/keywords/with', 'ember-htmlbars/keywords/outlet', 'ember-htmlbars/keywords/unbound', 'ember-htmlbars/keywords/view', 'ember-htmlbars/keywords/component', 'ember-htmlbars/keywords/element-component', 'ember-htmlbars/keywords/partial', 'ember-htmlbars/keywords/input', 'ember-htmlbars/keywords/textarea', 'ember-htmlbars/keywords/yield', 'ember-htmlbars/keywords/mut', 'ember-htmlbars/keywords/readonly', 'ember-htmlbars/keywords/get'], function (exports, _emberMetal, _emberMetalEnvironment, _htmlbarsRuntime, _emberMetalAssign, _emberHtmlbarsHooksSubexpr, _emberHtmlbarsHooksConcat, _emberHtmlbarsHooksLinkRenderNode, _emberHtmlbarsHooksCreateFreshScope, _emberHtmlbarsHooksBindShadowScope, _emberHtmlbarsHooksBindSelf, _emberHtmlbarsHooksBindScope, _emberHtmlbarsHooksBindLocal, _emberHtmlbarsHooksBindBlock, _emberHtmlbarsHooksUpdateSelf, _emberHtmlbarsHooksGetRoot, _emberHtmlbarsHooksGetChild, _emberHtmlbarsHooksGetBlock, _emberHtmlbarsHooksGetValue, _emberHtmlbarsHooksGetCellOrValue, _emberHtmlbarsHooksCleanupRenderNode, _emberHtmlbarsHooksDestroyRenderNode, _emberHtmlbarsHooksDidRenderNode, _emberHtmlbarsHooksWillCleanupTree, _emberHtmlbarsHooksDidCleanupTree, _emberHtmlbarsHooksClassify, _emberHtmlbarsHooksComponent, _emberHtmlbarsHooksLookupHelper, _emberHtmlbarsHooksHasHelper, _emberHtmlbarsHooksInvokeHelper, _emberHtmlbarsHooksElement, _emberHtmlbarsHelpers, _emberHtmlbarsKeywords, _emberHtmlbarsSystemDomHelper, _emberHtmlbarsKeywordsDebugger, _emberHtmlbarsKeywordsWith, _emberHtmlbarsKeywordsOutlet, _emberHtmlbarsKeywordsUnbound, _emberHtmlbarsKeywordsView, _emberHtmlbarsKeywordsComponent, _emberHtmlbarsKeywordsElementComponent, _emberHtmlbarsKeywordsPartial, _emberHtmlbarsKeywordsInput, _emberHtmlbarsKeywordsTextarea, _emberHtmlbarsKeywordsYield, _emberHtmlbarsKeywordsMut, _emberHtmlbarsKeywordsReadonly, _emberHtmlbarsKeywordsGet) {
7451
7443
  'use strict';
7452
7444
 
@@ -10318,7 +10310,7 @@ enifed('ember-htmlbars/keywords/outlet', ['exports', 'ember-metal/debug', 'ember
10318
10310
 
10319
10311
  'use strict';
10320
10312
 
10321
- _emberHtmlbarsTemplatesTopLevelView.default.meta.revision = 'Ember@2.6.0-beta.3';
10313
+ _emberHtmlbarsTemplatesTopLevelView.default.meta.revision = 'Ember@2.6.0-beta.4';
10322
10314
 
10323
10315
  /**
10324
10316
  The `{{outlet}}` helper lets you specify where a child route will render in
@@ -15245,7 +15237,7 @@ enifed('ember-metal/core', ['exports', 'require'], function (exports, _require)
15245
15237
 
15246
15238
  @class Ember
15247
15239
  @static
15248
- @version 2.6.0-beta.3
15240
+ @version 2.6.0-beta.4
15249
15241
  @public
15250
15242
  */
15251
15243
 
@@ -15287,11 +15279,11 @@ enifed('ember-metal/core', ['exports', 'require'], function (exports, _require)
15287
15279
 
15288
15280
  @property VERSION
15289
15281
  @type String
15290
- @default '2.6.0-beta.3'
15282
+ @default '2.6.0-beta.4'
15291
15283
  @static
15292
15284
  @public
15293
15285
  */
15294
- Ember.VERSION = '2.6.0-beta.3';
15286
+ Ember.VERSION = '2.6.0-beta.4';
15295
15287
 
15296
15288
  /**
15297
15289
  The hash of environment variables used to control various configuration
@@ -19868,6 +19860,12 @@ enifed('ember-metal/property_get', ['exports', 'ember-metal/debug', 'ember-metal
19868
19860
  exports._getPath = _getPath;
19869
19861
  exports.getWithDefault = getWithDefault;
19870
19862
 
19863
+ var ALLOWABLE_TYPES = {
19864
+ object: true,
19865
+ function: true,
19866
+ string: true
19867
+ };
19868
+
19871
19869
  // ..........................................................
19872
19870
  // GET AND SET
19873
19871
  //
@@ -19936,11 +19934,10 @@ enifed('ember-metal/property_get', ['exports', 'ember-metal/debug', 'ember-metal
19936
19934
  function _getPath(root, path) {
19937
19935
  var obj = root;
19938
19936
  var parts = path.split('.');
19939
- var len = parts.length;
19940
19937
 
19941
- for (var i = 0; i < len; i++) {
19942
- if (obj == null) {
19943
- return obj;
19938
+ for (var i = 0; i < parts.length; i++) {
19939
+ if (!isGettable(obj)) {
19940
+ return undefined;
19944
19941
  }
19945
19942
 
19946
19943
  obj = get(obj, parts[i]);
@@ -19953,6 +19950,14 @@ enifed('ember-metal/property_get', ['exports', 'ember-metal/debug', 'ember-metal
19953
19950
  return obj;
19954
19951
  }
19955
19952
 
19953
+ function isGettable(obj) {
19954
+ if (obj == null) {
19955
+ return false;
19956
+ }
19957
+
19958
+ return ALLOWABLE_TYPES[typeof obj];
19959
+ }
19960
+
19956
19961
  /**
19957
19962
  Retrieves the value of a property from an Object, or a default value in the
19958
19963
  case that the property returns `undefined`.
@@ -38499,21 +38504,21 @@ enifed('ember-template-compiler/plugins/transform-inline-link-to', ['exports'],
38499
38504
  var traverse = _syntax.traverse;
38500
38505
  var b = _syntax.builders;
38501
38506
 
38502
- function buildProgram(content) {
38503
- return b.program([buildStatement(content)]);
38507
+ function buildProgram(content, loc) {
38508
+ return b.program([buildStatement(content, loc)], null, loc);
38504
38509
  }
38505
38510
 
38506
- function buildStatement(content) {
38511
+ function buildStatement(content, loc) {
38507
38512
  switch (content.type) {
38508
38513
  case 'PathExpression':
38509
- return b.mustache(content);
38514
+ return b.mustache(content, null, null, null, loc);
38510
38515
 
38511
38516
  case 'SubExpression':
38512
- return b.mustache(content.path, content.params, content.hash);
38517
+ return b.mustache(content.path, content.params, content.hash, null, loc);
38513
38518
 
38514
38519
  // The default case handles literals.
38515
38520
  default:
38516
- return b.text('' + content.value);
38521
+ return b.text('' + content.value, loc);
38517
38522
  }
38518
38523
  }
38519
38524
 
@@ -38525,7 +38530,7 @@ enifed('ember-template-compiler/plugins/transform-inline-link-to', ['exports'],
38525
38530
  MustacheStatement: function (node) {
38526
38531
  if (node.path.original === 'link-to') {
38527
38532
  var content = node.escaped ? node.params[0] : unsafeHtml(node.params[0]);
38528
- return b.block('link-to', node.params.slice(1), node.hash, buildProgram(content));
38533
+ return b.block('link-to', node.params.slice(1), node.hash, buildProgram(content, node.loc), null, node.loc);
38529
38534
  }
38530
38535
  }
38531
38536
  });
@@ -39139,7 +39144,7 @@ enifed('ember-template-compiler/system/compile_options', ['exports', 'ember-meta
39139
39144
  options.buildMeta = function buildMeta(program) {
39140
39145
  return {
39141
39146
  fragmentReason: fragmentReason(program),
39142
- revision: 'Ember@2.6.0-beta.3',
39147
+ revision: 'Ember@2.6.0-beta.4',
39143
39148
  loc: program.loc,
39144
39149
  moduleName: options.moduleName
39145
39150
  };
data/dist/ember.js CHANGED
@@ -6,7 +6,7 @@
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.6.0-beta.3
9
+ * @version 2.6.0-beta.4
10
10
  */
11
11
 
12
12
  var enifed, requireModule, require, Ember;
@@ -7426,27 +7426,19 @@ enifed('ember-extension-support/index', ['exports', 'ember-metal/core', 'ember-e
7426
7426
  _emberMetalCore.default.DataAdapter = _emberExtensionSupportData_adapter.default;
7427
7427
  _emberMetalCore.default.ContainerDebugAdapter = _emberExtensionSupportContainer_debug_adapter.default;
7428
7428
  });
7429
- enifed('ember-htmlbars/compat', ['exports', 'ember-metal/core', 'ember-htmlbars/utils/string', 'ember-metal/debug'], function (exports, _emberMetalCore, _emberHtmlbarsUtilsString, _emberMetalDebug) {
7429
+ enifed('ember-htmlbars/compat', ['exports', 'ember-metal/core', 'ember-htmlbars/utils/string'], function (exports, _emberMetalCore, _emberHtmlbarsUtilsString) {
7430
7430
  'use strict';
7431
7431
 
7432
7432
  var EmberHandlebars = _emberMetalCore.default.Handlebars = _emberMetalCore.default.Handlebars || {};
7433
7433
 
7434
- EmberHandlebars.SafeString = function (value) {
7435
- _emberMetalDebug.deprecate('Ember.Handlebars.SafeString is deprecated in favor of Ember.String.htmlSafe', false, {
7436
- id: 'ember-htmlbars.ember-handlebars-safestring',
7437
- until: '3.0.0',
7438
- url: 'http://emberjs.com/deprecations/v2.x#toc_use-ember-string-htmlsafe-over-ember-handlebars-safestring'
7439
- });
7440
-
7441
- return _emberHtmlbarsUtilsString.htmlSafe(value);
7442
- };
7443
-
7434
+ EmberHandlebars.SafeString = _emberHtmlbarsUtilsString.SafeString;
7444
7435
  EmberHandlebars.Utils = {
7445
7436
  escapeExpression: _emberHtmlbarsUtilsString.escapeExpression
7446
7437
  };
7447
7438
 
7448
7439
  exports.default = EmberHandlebars;
7449
7440
  });
7441
+ // for Handlebars export
7450
7442
  enifed('ember-htmlbars/env', ['exports', 'ember-metal', 'ember-metal/environment', 'htmlbars-runtime', 'ember-metal/assign', 'ember-htmlbars/hooks/subexpr', 'ember-htmlbars/hooks/concat', 'ember-htmlbars/hooks/link-render-node', 'ember-htmlbars/hooks/create-fresh-scope', 'ember-htmlbars/hooks/bind-shadow-scope', 'ember-htmlbars/hooks/bind-self', 'ember-htmlbars/hooks/bind-scope', 'ember-htmlbars/hooks/bind-local', 'ember-htmlbars/hooks/bind-block', 'ember-htmlbars/hooks/update-self', 'ember-htmlbars/hooks/get-root', 'ember-htmlbars/hooks/get-child', 'ember-htmlbars/hooks/get-block', 'ember-htmlbars/hooks/get-value', 'ember-htmlbars/hooks/get-cell-or-value', 'ember-htmlbars/hooks/cleanup-render-node', 'ember-htmlbars/hooks/destroy-render-node', 'ember-htmlbars/hooks/did-render-node', 'ember-htmlbars/hooks/will-cleanup-tree', 'ember-htmlbars/hooks/did-cleanup-tree', 'ember-htmlbars/hooks/classify', 'ember-htmlbars/hooks/component', 'ember-htmlbars/hooks/lookup-helper', 'ember-htmlbars/hooks/has-helper', 'ember-htmlbars/hooks/invoke-helper', 'ember-htmlbars/hooks/element', 'ember-htmlbars/helpers', 'ember-htmlbars/keywords', 'ember-htmlbars/system/dom-helper', 'ember-htmlbars/keywords/debugger', 'ember-htmlbars/keywords/with', 'ember-htmlbars/keywords/outlet', 'ember-htmlbars/keywords/unbound', 'ember-htmlbars/keywords/view', 'ember-htmlbars/keywords/component', 'ember-htmlbars/keywords/element-component', 'ember-htmlbars/keywords/partial', 'ember-htmlbars/keywords/input', 'ember-htmlbars/keywords/textarea', 'ember-htmlbars/keywords/yield', 'ember-htmlbars/keywords/mut', 'ember-htmlbars/keywords/readonly', 'ember-htmlbars/keywords/get'], function (exports, _emberMetal, _emberMetalEnvironment, _htmlbarsRuntime, _emberMetalAssign, _emberHtmlbarsHooksSubexpr, _emberHtmlbarsHooksConcat, _emberHtmlbarsHooksLinkRenderNode, _emberHtmlbarsHooksCreateFreshScope, _emberHtmlbarsHooksBindShadowScope, _emberHtmlbarsHooksBindSelf, _emberHtmlbarsHooksBindScope, _emberHtmlbarsHooksBindLocal, _emberHtmlbarsHooksBindBlock, _emberHtmlbarsHooksUpdateSelf, _emberHtmlbarsHooksGetRoot, _emberHtmlbarsHooksGetChild, _emberHtmlbarsHooksGetBlock, _emberHtmlbarsHooksGetValue, _emberHtmlbarsHooksGetCellOrValue, _emberHtmlbarsHooksCleanupRenderNode, _emberHtmlbarsHooksDestroyRenderNode, _emberHtmlbarsHooksDidRenderNode, _emberHtmlbarsHooksWillCleanupTree, _emberHtmlbarsHooksDidCleanupTree, _emberHtmlbarsHooksClassify, _emberHtmlbarsHooksComponent, _emberHtmlbarsHooksLookupHelper, _emberHtmlbarsHooksHasHelper, _emberHtmlbarsHooksInvokeHelper, _emberHtmlbarsHooksElement, _emberHtmlbarsHelpers, _emberHtmlbarsKeywords, _emberHtmlbarsSystemDomHelper, _emberHtmlbarsKeywordsDebugger, _emberHtmlbarsKeywordsWith, _emberHtmlbarsKeywordsOutlet, _emberHtmlbarsKeywordsUnbound, _emberHtmlbarsKeywordsView, _emberHtmlbarsKeywordsComponent, _emberHtmlbarsKeywordsElementComponent, _emberHtmlbarsKeywordsPartial, _emberHtmlbarsKeywordsInput, _emberHtmlbarsKeywordsTextarea, _emberHtmlbarsKeywordsYield, _emberHtmlbarsKeywordsMut, _emberHtmlbarsKeywordsReadonly, _emberHtmlbarsKeywordsGet) {
7451
7443
  'use strict';
7452
7444
 
@@ -10318,7 +10310,7 @@ enifed('ember-htmlbars/keywords/outlet', ['exports', 'ember-metal/debug', 'ember
10318
10310
 
10319
10311
  'use strict';
10320
10312
 
10321
- _emberHtmlbarsTemplatesTopLevelView.default.meta.revision = 'Ember@2.6.0-beta.3';
10313
+ _emberHtmlbarsTemplatesTopLevelView.default.meta.revision = 'Ember@2.6.0-beta.4';
10322
10314
 
10323
10315
  /**
10324
10316
  The `{{outlet}}` helper lets you specify where a child route will render in
@@ -15245,7 +15237,7 @@ enifed('ember-metal/core', ['exports', 'require'], function (exports, _require)
15245
15237
 
15246
15238
  @class Ember
15247
15239
  @static
15248
- @version 2.6.0-beta.3
15240
+ @version 2.6.0-beta.4
15249
15241
  @public
15250
15242
  */
15251
15243
 
@@ -15287,11 +15279,11 @@ enifed('ember-metal/core', ['exports', 'require'], function (exports, _require)
15287
15279
 
15288
15280
  @property VERSION
15289
15281
  @type String
15290
- @default '2.6.0-beta.3'
15282
+ @default '2.6.0-beta.4'
15291
15283
  @static
15292
15284
  @public
15293
15285
  */
15294
- Ember.VERSION = '2.6.0-beta.3';
15286
+ Ember.VERSION = '2.6.0-beta.4';
15295
15287
 
15296
15288
  /**
15297
15289
  The hash of environment variables used to control various configuration
@@ -19868,6 +19860,12 @@ enifed('ember-metal/property_get', ['exports', 'ember-metal/debug', 'ember-metal
19868
19860
  exports._getPath = _getPath;
19869
19861
  exports.getWithDefault = getWithDefault;
19870
19862
 
19863
+ var ALLOWABLE_TYPES = {
19864
+ object: true,
19865
+ function: true,
19866
+ string: true
19867
+ };
19868
+
19871
19869
  // ..........................................................
19872
19870
  // GET AND SET
19873
19871
  //
@@ -19936,11 +19934,10 @@ enifed('ember-metal/property_get', ['exports', 'ember-metal/debug', 'ember-metal
19936
19934
  function _getPath(root, path) {
19937
19935
  var obj = root;
19938
19936
  var parts = path.split('.');
19939
- var len = parts.length;
19940
19937
 
19941
- for (var i = 0; i < len; i++) {
19942
- if (obj == null) {
19943
- return obj;
19938
+ for (var i = 0; i < parts.length; i++) {
19939
+ if (!isGettable(obj)) {
19940
+ return undefined;
19944
19941
  }
19945
19942
 
19946
19943
  obj = get(obj, parts[i]);
@@ -19953,6 +19950,14 @@ enifed('ember-metal/property_get', ['exports', 'ember-metal/debug', 'ember-metal
19953
19950
  return obj;
19954
19951
  }
19955
19952
 
19953
+ function isGettable(obj) {
19954
+ if (obj == null) {
19955
+ return false;
19956
+ }
19957
+
19958
+ return ALLOWABLE_TYPES[typeof obj];
19959
+ }
19960
+
19956
19961
  /**
19957
19962
  Retrieves the value of a property from an Object, or a default value in the
19958
19963
  case that the property returns `undefined`.
@@ -38499,21 +38504,21 @@ enifed('ember-template-compiler/plugins/transform-inline-link-to', ['exports'],
38499
38504
  var traverse = _syntax.traverse;
38500
38505
  var b = _syntax.builders;
38501
38506
 
38502
- function buildProgram(content) {
38503
- return b.program([buildStatement(content)]);
38507
+ function buildProgram(content, loc) {
38508
+ return b.program([buildStatement(content, loc)], null, loc);
38504
38509
  }
38505
38510
 
38506
- function buildStatement(content) {
38511
+ function buildStatement(content, loc) {
38507
38512
  switch (content.type) {
38508
38513
  case 'PathExpression':
38509
- return b.mustache(content);
38514
+ return b.mustache(content, null, null, null, loc);
38510
38515
 
38511
38516
  case 'SubExpression':
38512
- return b.mustache(content.path, content.params, content.hash);
38517
+ return b.mustache(content.path, content.params, content.hash, null, loc);
38513
38518
 
38514
38519
  // The default case handles literals.
38515
38520
  default:
38516
- return b.text('' + content.value);
38521
+ return b.text('' + content.value, loc);
38517
38522
  }
38518
38523
  }
38519
38524
 
@@ -38525,7 +38530,7 @@ enifed('ember-template-compiler/plugins/transform-inline-link-to', ['exports'],
38525
38530
  MustacheStatement: function (node) {
38526
38531
  if (node.path.original === 'link-to') {
38527
38532
  var content = node.escaped ? node.params[0] : unsafeHtml(node.params[0]);
38528
- return b.block('link-to', node.params.slice(1), node.hash, buildProgram(content));
38533
+ return b.block('link-to', node.params.slice(1), node.hash, buildProgram(content, node.loc), null, node.loc);
38529
38534
  }
38530
38535
  }
38531
38536
  });
@@ -39139,7 +39144,7 @@ enifed('ember-template-compiler/system/compile_options', ['exports', 'ember-meta
39139
39144
  options.buildMeta = function buildMeta(program) {
39140
39145
  return {
39141
39146
  fragmentReason: fragmentReason(program),
39142
- revision: 'Ember@2.6.0-beta.3',
39147
+ revision: 'Ember@2.6.0-beta.4',
39143
39148
  loc: program.loc,
39144
39149
  moduleName: options.moduleName
39145
39150
  };