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

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: f7aa27d32b8959dce23d5b48b9743b90da89f916
4
- data.tar.gz: 3be5dead084313c2c730b115659e061cdfdd2e16
3
+ metadata.gz: 086a0a3cf25b6ce5c88a612cc153c8f2f3d3a456
4
+ data.tar.gz: beee57123ee4957e7883a7ca67d4e122ba07ab24
5
5
  SHA512:
6
- metadata.gz: 04257954b750f3065f8e56d73f4d3190e38fe00b22366ae28faf9c3d864b68c2c3b02a76a2e4d9673dd9e2832b90180621de673b3daa004418c0e02f0f03c8b4
7
- data.tar.gz: a02e2f55d9de141959257571e7f9acd7b9ada0ffe5b2771da70ccd5d3c4ab577723cc040da42756f3c7967a5d9d5f46d28b1a078acd29a7307f7a08f2e764047
6
+ metadata.gz: e8d696cd7271578a9703a8d9869d0f1821640f728fe409815dded1de2a63a1681bcbbb05765de4673c3419d8af52bf4d02863c9d1a1802dbd24425e64da3571f
7
+ data.tar.gz: 572a0d900acf9fc3f8113e0f1673ac219134913de0017a52c2c1e4de3dc0d3f0e201d0023b029ec802aca12aba4d7436c2c48ccc10de620691bdf16228c65dd3
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.6.0-beta.2
1
+ 2.6.0-beta.3
@@ -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.2
9
+ * @version 2.6.0-beta.3
10
10
  */
11
11
 
12
12
  var enifed, requireModule, require, Ember;
@@ -688,12 +688,12 @@ enifed('backburner', ['exports', 'backburner/utils', 'backburner/platform', 'bac
688
688
  /*
689
689
  Join the passed method with an existing queue and execute immediately,
690
690
  if there isn't one use `Backburner#run`.
691
- The join method is like the run method except that it will schedule into
691
+ The join method is like the run method except that it will schedule into
692
692
  an existing queue if one already exists. In either case, the join method will
693
693
  immediately execute the passed in function and return its result.
694
- @method join
694
+ @method join
695
695
  @param {Object} target
696
- @param {Function} method The method to be executed
696
+ @param {Function} method The method to be executed
697
697
  @param {any} args The method arguments
698
698
  @return method result
699
699
  */
@@ -732,10 +732,10 @@ enifed('backburner', ['exports', 'backburner/utils', 'backburner/platform', 'bac
732
732
 
733
733
  /*
734
734
  Defer the passed function to run inside the specified queue.
735
- @method defer
736
- @param {String} queueName
735
+ @method defer
736
+ @param {String} queueName
737
737
  @param {Object} target
738
- @param {Function|String} method The method or method name to be executed
738
+ @param {Function|String} method The method or method name to be executed
739
739
  @param {any} args The method arguments
740
740
  @return method result
741
741
  */
@@ -861,7 +861,7 @@ enifed('backburner', ['exports', 'backburner/utils', 'backburner/platform', 'bac
861
861
  }
862
862
  }
863
863
 
864
- var executeAt = Date.now() + parseInt(wait, 10);
864
+ var executeAt = Date.now() + parseInt(wait !== wait ? 0 : wait, 10);
865
865
 
866
866
  if (_backburnerUtils.isString(method)) {
867
867
  method = target[method];
@@ -3999,7 +3999,7 @@ enifed('ember-metal/computed', ['exports', 'ember-metal/debug', 'ember-metal/pro
3999
3999
  The alternative syntax, with prototype extensions, might look like:
4000
4000
 
4001
4001
  ```js
4002
- fullName() {
4002
+ fullName: function() {
4003
4003
  return this.get('firstName') + ' ' + this.get('lastName');
4004
4004
  }.property('firstName', 'lastName')
4005
4005
  ```
@@ -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.2
4784
+ @version 2.6.0-beta.3
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.2'
4826
+ @default '2.6.0-beta.3'
4827
4827
  @static
4828
4828
  @public
4829
4829
  */
4830
- Ember.VERSION = '2.6.0-beta.2';
4830
+ Ember.VERSION = '2.6.0-beta.3';
4831
4831
 
4832
4832
  /**
4833
4833
  The hash of environment variables used to control various configuration
@@ -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.2
9
+ * @version 2.6.0-beta.3
10
10
  */
11
11
 
12
12
  var enifed, requireModule, require, Ember;
@@ -688,12 +688,12 @@ enifed('backburner', ['exports', 'backburner/utils', 'backburner/platform', 'bac
688
688
  /*
689
689
  Join the passed method with an existing queue and execute immediately,
690
690
  if there isn't one use `Backburner#run`.
691
- The join method is like the run method except that it will schedule into
691
+ The join method is like the run method except that it will schedule into
692
692
  an existing queue if one already exists. In either case, the join method will
693
693
  immediately execute the passed in function and return its result.
694
- @method join
694
+ @method join
695
695
  @param {Object} target
696
- @param {Function} method The method to be executed
696
+ @param {Function} method The method to be executed
697
697
  @param {any} args The method arguments
698
698
  @return method result
699
699
  */
@@ -732,10 +732,10 @@ enifed('backburner', ['exports', 'backburner/utils', 'backburner/platform', 'bac
732
732
 
733
733
  /*
734
734
  Defer the passed function to run inside the specified queue.
735
- @method defer
736
- @param {String} queueName
735
+ @method defer
736
+ @param {String} queueName
737
737
  @param {Object} target
738
- @param {Function|String} method The method or method name to be executed
738
+ @param {Function|String} method The method or method name to be executed
739
739
  @param {any} args The method arguments
740
740
  @return method result
741
741
  */
@@ -861,7 +861,7 @@ enifed('backburner', ['exports', 'backburner/utils', 'backburner/platform', 'bac
861
861
  }
862
862
  }
863
863
 
864
- var executeAt = Date.now() + parseInt(wait, 10);
864
+ var executeAt = Date.now() + parseInt(wait !== wait ? 0 : wait, 10);
865
865
 
866
866
  if (_backburnerUtils.isString(method)) {
867
867
  method = target[method];
@@ -3206,7 +3206,7 @@ enifed('ember-metal/computed', ['exports', 'ember-metal/debug', 'ember-metal/pro
3206
3206
  The alternative syntax, with prototype extensions, might look like:
3207
3207
 
3208
3208
  ```js
3209
- fullName() {
3209
+ fullName: function() {
3210
3210
  return this.get('firstName') + ' ' + this.get('lastName');
3211
3211
  }.property('firstName', 'lastName')
3212
3212
  ```
@@ -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.2
3991
+ @version 2.6.0-beta.3
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.2'
4033
+ @default '2.6.0-beta.3'
4034
4034
  @static
4035
4035
  @public
4036
4036
  */
4037
- Ember.VERSION = '2.6.0-beta.2';
4037
+ Ember.VERSION = '2.6.0-beta.3';
4038
4038
 
4039
4039
  /**
4040
4040
  The hash of environment variables used to control various configuration
@@ -12023,41 +12023,18 @@ enifed('ember-template-compiler/plugins/transform-closure-component-attrs-into-m
12023
12023
  */
12024
12024
  TransformClosureComponentAttrsIntoMut.prototype.transform = function TransformClosureComponentAttrsIntoMut_transform(ast) {
12025
12025
  var b = this.syntax.builders;
12026
- var walker = new this.syntax.Walker();
12027
12026
 
12028
- walker.visit(ast, function (node) {
12029
- if (validate(node)) {
12030
- processExpression(b, node);
12027
+ this.syntax.traverse(ast, {
12028
+ SubExpression: function (node) {
12029
+ if (isComponentClosure(node)) {
12030
+ mutParameters(b, node);
12031
+ }
12031
12032
  }
12032
12033
  });
12033
12034
 
12034
12035
  return ast;
12035
12036
  };
12036
12037
 
12037
- function processExpression(builder, node) {
12038
- processSubExpressionsInNode(builder, node);
12039
-
12040
- if (isComponentClosure(node)) {
12041
- mutParameters(builder, node);
12042
- }
12043
- }
12044
-
12045
- function processSubExpressionsInNode(builder, node) {
12046
- for (var i = 0; i < node.params.length; i++) {
12047
- if (node.params[i].type === 'SubExpression') {
12048
- processExpression(builder, node.params[i]);
12049
- }
12050
- }
12051
-
12052
- each(node.hash.pairs, function (pair) {
12053
- var value = pair.value;
12054
-
12055
- if (value.type === 'SubExpression') {
12056
- processExpression(builder, value);
12057
- }
12058
- });
12059
- }
12060
-
12061
12038
  function isComponentClosure(node) {
12062
12039
  return node.type === 'SubExpression' && node.path.original === 'component';
12063
12040
  }
@@ -12078,10 +12055,6 @@ enifed('ember-template-compiler/plugins/transform-closure-component-attrs-into-m
12078
12055
  });
12079
12056
  }
12080
12057
 
12081
- function validate(node) {
12082
- return node.type === 'BlockStatement' || node.type === 'MustacheStatement';
12083
- }
12084
-
12085
12058
  function each(list, callback) {
12086
12059
  for (var i = 0, l = list.length; i < l; i++) {
12087
12060
  callback(list[i]);
@@ -12840,7 +12813,7 @@ enifed('ember-template-compiler/system/compile_options', ['exports', 'ember-meta
12840
12813
  options.buildMeta = function buildMeta(program) {
12841
12814
  return {
12842
12815
  fragmentReason: fragmentReason(program),
12843
- revision: 'Ember@2.6.0-beta.2',
12816
+ revision: 'Ember@2.6.0-beta.3',
12844
12817
  loc: program.loc,
12845
12818
  moduleName: options.moduleName
12846
12819
  };
@@ -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.2
9
+ * @version 2.6.0-beta.3
10
10
  */
11
11
 
12
12
  var enifed, requireModule, require, Ember;
@@ -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.2
9
+ * @version 2.6.0-beta.3
10
10
  */
11
11
 
12
12
  var enifed, requireModule, require, Ember;
@@ -688,12 +688,12 @@ enifed('backburner', ['exports', 'backburner/utils', 'backburner/platform', 'bac
688
688
  /*
689
689
  Join the passed method with an existing queue and execute immediately,
690
690
  if there isn't one use `Backburner#run`.
691
- The join method is like the run method except that it will schedule into
691
+ The join method is like the run method except that it will schedule into
692
692
  an existing queue if one already exists. In either case, the join method will
693
693
  immediately execute the passed in function and return its result.
694
- @method join
694
+ @method join
695
695
  @param {Object} target
696
- @param {Function} method The method to be executed
696
+ @param {Function} method The method to be executed
697
697
  @param {any} args The method arguments
698
698
  @return method result
699
699
  */
@@ -732,10 +732,10 @@ enifed('backburner', ['exports', 'backburner/utils', 'backburner/platform', 'bac
732
732
 
733
733
  /*
734
734
  Defer the passed function to run inside the specified queue.
735
- @method defer
736
- @param {String} queueName
735
+ @method defer
736
+ @param {String} queueName
737
737
  @param {Object} target
738
- @param {Function|String} method The method or method name to be executed
738
+ @param {Function|String} method The method or method name to be executed
739
739
  @param {any} args The method arguments
740
740
  @return method result
741
741
  */
@@ -861,7 +861,7 @@ enifed('backburner', ['exports', 'backburner/utils', 'backburner/platform', 'bac
861
861
  }
862
862
  }
863
863
 
864
- var executeAt = Date.now() + parseInt(wait, 10);
864
+ var executeAt = Date.now() + parseInt(wait !== wait ? 0 : wait, 10);
865
865
 
866
866
  if (_backburnerUtils.isString(method)) {
867
867
  method = target[method];
@@ -8384,7 +8384,7 @@ enifed("ember-htmlbars/hooks/cleanup-render-node", ["exports"], function (export
8384
8384
  }
8385
8385
  }
8386
8386
  });
8387
- enifed('ember-htmlbars/hooks/component', ['exports', 'ember-metal/features', 'ember-metal/debug', 'ember-htmlbars/node-managers/component-node-manager', 'ember-views/system/build-component-template', 'ember-htmlbars/utils/lookup-component', 'ember-metal/assign', 'ember-metal/empty_object', 'ember-metal/cache', 'ember-htmlbars/system/lookup-helper', 'ember-htmlbars/keywords/closure-component'], function (exports, _emberMetalFeatures, _emberMetalDebug, _emberHtmlbarsNodeManagersComponentNodeManager, _emberViewsSystemBuildComponentTemplate, _emberHtmlbarsUtilsLookupComponent, _emberMetalAssign, _emberMetalEmpty_object, _emberMetalCache, _emberHtmlbarsSystemLookupHelper, _emberHtmlbarsKeywordsClosureComponent) {
8387
+ enifed('ember-htmlbars/hooks/component', ['exports', 'ember-metal/features', 'ember-metal/debug', 'ember-htmlbars/node-managers/component-node-manager', 'ember-views/system/build-component-template', 'ember-htmlbars/utils/lookup-component', 'ember-metal/assign', 'ember-metal/empty_object', 'ember-metal/cache', 'ember-htmlbars/system/lookup-helper', 'ember-htmlbars/utils/extract-positional-params', 'ember-htmlbars/keywords/closure-component'], function (exports, _emberMetalFeatures, _emberMetalDebug, _emberHtmlbarsNodeManagersComponentNodeManager, _emberViewsSystemBuildComponentTemplate, _emberHtmlbarsUtilsLookupComponent, _emberMetalAssign, _emberMetalEmpty_object, _emberMetalCache, _emberHtmlbarsSystemLookupHelper, _emberHtmlbarsUtilsExtractPositionalParams, _emberHtmlbarsKeywordsClosureComponent) {
8388
8388
  'use strict';
8389
8389
 
8390
8390
  exports.default = componentHook;
@@ -8424,6 +8424,9 @@ enifed('ember-htmlbars/hooks/component', ['exports', 'ember-metal/features', 'em
8424
8424
 
8425
8425
  // Determine if this is an initial render or a re-render.
8426
8426
  if (state.manager) {
8427
+ var templateMeta = state.manager.block.template.meta;
8428
+ env.meta.moduleName = templateMeta && templateMeta.moduleName || env.meta && env.meta.moduleName;
8429
+ _emberHtmlbarsUtilsExtractPositionalParams.default(renderNode, state.manager.component.constructor, params, attrs, false);
8427
8430
  state.manager.rerender(env, attrs, visitor);
8428
8431
  return;
8429
8432
  }
@@ -10315,7 +10318,7 @@ enifed('ember-htmlbars/keywords/outlet', ['exports', 'ember-metal/debug', 'ember
10315
10318
 
10316
10319
  'use strict';
10317
10320
 
10318
- _emberHtmlbarsTemplatesTopLevelView.default.meta.revision = 'Ember@2.6.0-beta.2';
10321
+ _emberHtmlbarsTemplatesTopLevelView.default.meta.revision = 'Ember@2.6.0-beta.3';
10319
10322
 
10320
10323
  /**
10321
10324
  The `{{outlet}}` helper lets you specify where a child route will render in
@@ -12697,36 +12700,40 @@ enifed('ember-htmlbars/utils/extract-positional-params', ['exports', 'ember-meta
12697
12700
  exports.processPositionalParams = processPositionalParams;
12698
12701
 
12699
12702
  function extractPositionalParams(renderNode, component, params, attrs) {
12703
+ var raiseAssertions = arguments.length <= 4 || arguments[4] === undefined ? true : arguments[4];
12704
+
12700
12705
  var positionalParams = component.positionalParams;
12701
12706
 
12702
12707
  if (positionalParams) {
12703
- processPositionalParams(renderNode, positionalParams, params, attrs);
12708
+ processPositionalParams(renderNode, positionalParams, params, attrs, raiseAssertions);
12704
12709
  }
12705
12710
  }
12706
12711
 
12707
12712
  function processPositionalParams(renderNode, positionalParams, params, attrs) {
12713
+ var raiseAssertions = arguments.length <= 4 || arguments[4] === undefined ? true : arguments[4];
12714
+
12708
12715
  var isRest = typeof positionalParams === 'string';
12709
12716
 
12710
12717
  if (isRest) {
12711
- processRestPositionalParameters(renderNode, positionalParams, params, attrs);
12718
+ processRestPositionalParameters(renderNode, positionalParams, params, attrs, raiseAssertions);
12712
12719
  } else {
12713
- processNamedPositionalParameters(renderNode, positionalParams, params, attrs);
12720
+ processNamedPositionalParameters(renderNode, positionalParams, params, attrs, raiseAssertions);
12714
12721
  }
12715
12722
  }
12716
12723
 
12717
- function processNamedPositionalParameters(renderNode, positionalParams, params, attrs) {
12724
+ function processNamedPositionalParameters(renderNode, positionalParams, params, attrs, raiseAssertions) {
12718
12725
  var limit = Math.min(params.length, positionalParams.length);
12719
12726
 
12720
12727
  for (var i = 0; i < limit; i++) {
12721
12728
  var param = params[i];
12722
12729
 
12723
- _emberMetalDebug.assert('You cannot specify both a positional param (at position ' + i + ') and the hash argument `' + positionalParams[i] + '`.', !(positionalParams[i] in attrs));
12730
+ _emberMetalDebug.assert('You cannot specify both a positional param (at position ' + i + ') and the hash argument `' + positionalParams[i] + '`.', !(positionalParams[i] in attrs && raiseAssertions));
12724
12731
 
12725
12732
  attrs[positionalParams[i]] = param;
12726
12733
  }
12727
12734
  }
12728
12735
 
12729
- function processRestPositionalParameters(renderNode, positionalParamsName, params, attrs) {
12736
+ function processRestPositionalParameters(renderNode, positionalParamsName, params, attrs, raiseAssertions) {
12730
12737
  var nameInAttrs = (positionalParamsName in attrs);
12731
12738
 
12732
12739
  // when no params are used, do not override the specified `attrs.stringParamName` value
@@ -12735,7 +12742,7 @@ enifed('ember-htmlbars/utils/extract-positional-params', ['exports', 'ember-meta
12735
12742
  }
12736
12743
 
12737
12744
  // If there is already an attribute for that variable, do nothing
12738
- _emberMetalDebug.assert('You cannot specify positional parameters and the hash argument `' + positionalParamsName + '`.', !nameInAttrs);
12745
+ _emberMetalDebug.assert('You cannot specify positional parameters and the hash argument `' + positionalParamsName + '`.', !(nameInAttrs && raiseAssertions));
12739
12746
 
12740
12747
  var paramsStream = new _emberMetalStreamsStream.Stream(function () {
12741
12748
  return _emberMetalStreamsUtils.readArray(params.slice(0));
@@ -14456,7 +14463,7 @@ enifed('ember-metal/computed', ['exports', 'ember-metal/debug', 'ember-metal/pro
14456
14463
  The alternative syntax, with prototype extensions, might look like:
14457
14464
 
14458
14465
  ```js
14459
- fullName() {
14466
+ fullName: function() {
14460
14467
  return this.get('firstName') + ' ' + this.get('lastName');
14461
14468
  }.property('firstName', 'lastName')
14462
14469
  ```
@@ -15238,7 +15245,7 @@ enifed('ember-metal/core', ['exports', 'require'], function (exports, _require)
15238
15245
 
15239
15246
  @class Ember
15240
15247
  @static
15241
- @version 2.6.0-beta.2
15248
+ @version 2.6.0-beta.3
15242
15249
  @public
15243
15250
  */
15244
15251
 
@@ -15280,11 +15287,11 @@ enifed('ember-metal/core', ['exports', 'require'], function (exports, _require)
15280
15287
 
15281
15288
  @property VERSION
15282
15289
  @type String
15283
- @default '2.6.0-beta.2'
15290
+ @default '2.6.0-beta.3'
15284
15291
  @static
15285
15292
  @public
15286
15293
  */
15287
- Ember.VERSION = '2.6.0-beta.2';
15294
+ Ember.VERSION = '2.6.0-beta.3';
15288
15295
 
15289
15296
  /**
15290
15297
  The hash of environment variables used to control various configuration
@@ -23540,6 +23547,25 @@ enifed('ember-routing/location/api', ['exports', 'ember-metal/debug', 'ember-met
23540
23547
 
23541
23548
  Calling setURL or replaceURL will not trigger onUpdateURL callbacks.
23542
23549
 
23550
+ ## Custom implementation
23551
+
23552
+ Ember scans `app/locations/*` for extending the Location API.
23553
+
23554
+ Example:
23555
+
23556
+ ```javascript
23557
+ import Ember from 'ember';
23558
+
23559
+ export default Ember.HistoryLocation.extend({
23560
+ implementation: 'history-url-logging',
23561
+
23562
+ pushState: function (path) {
23563
+ console.log(path);
23564
+ this._super.apply(this, arguments);
23565
+ }
23566
+ });
23567
+ ```
23568
+
23543
23569
  @class Location
23544
23570
  @namespace Ember
23545
23571
  @static
@@ -29143,7 +29169,7 @@ enifed('ember-routing-htmlbars/keywords/render', ['exports', 'ember-metal/debug'
29143
29169
  return true;
29144
29170
  }
29145
29171
  });
29146
- enifed('ember-routing-views/components/link-to', ['exports', 'ember-metal/features', 'ember-metal/logger', 'ember-metal/debug', 'ember-metal/property_get', 'ember-metal/computed', 'ember-metal/computed_macros', 'ember-views/system/utils', 'ember-views/components/component', 'ember-runtime/inject', 'ember-runtime/system/service', 'ember-runtime/mixins/controller', 'ember-htmlbars/templates/link-to', 'require'], function (exports, _emberMetalFeatures, _emberMetalLogger, _emberMetalDebug, _emberMetalProperty_get, _emberMetalComputed, _emberMetalComputed_macros, _emberViewsSystemUtils, _emberViewsComponentsComponent, _emberRuntimeInject, _emberRuntimeSystemService, _emberRuntimeMixinsController, _emberHtmlbarsTemplatesLinkTo, _require) {
29172
+ enifed('ember-routing-views/components/link-to', ['exports', 'ember-metal/features', 'ember-metal/logger', 'ember-metal/debug', 'ember-metal/property_get', 'ember-metal/computed', 'ember-metal/computed_macros', 'ember-views/system/utils', 'ember-views/components/component', 'ember-runtime/inject', 'ember-runtime/system/service', 'ember-runtime/mixins/controller', 'ember-htmlbars/node-managers/component-node-manager', 'ember-htmlbars/templates/link-to', 'require'], function (exports, _emberMetalFeatures, _emberMetalLogger, _emberMetalDebug, _emberMetalProperty_get, _emberMetalComputed, _emberMetalComputed_macros, _emberViewsSystemUtils, _emberViewsComponentsComponent, _emberRuntimeInject, _emberRuntimeSystemService, _emberRuntimeMixinsController, _emberHtmlbarsNodeManagersComponentNodeManager, _emberHtmlbarsTemplatesLinkTo, _require) {
29147
29173
  /**
29148
29174
  @module ember
29149
29175
  @submodule ember-templates
@@ -29790,7 +29816,7 @@ enifed('ember-routing-views/components/link-to', ['exports', 'ember-metal/featur
29790
29816
  if (lastParam && lastParam.isQueryParams) {
29791
29817
  params.pop();
29792
29818
  }
29793
- var onlyQueryParamsSupplied = params.length === 0;
29819
+ var onlyQueryParamsSupplied = this[_emberHtmlbarsNodeManagersComponentNodeManager.HAS_BLOCK] ? params.length === 0 : params.length === 1;
29794
29820
  if (onlyQueryParamsSupplied) {
29795
29821
  return _emberMetalProperty_get.get(this, '_routing.currentRouteName');
29796
29822
  }
@@ -29903,7 +29929,10 @@ enifed('ember-routing-views/components/link-to', ['exports', 'ember-metal/featur
29903
29929
  }
29904
29930
 
29905
29931
  // Process the positional arguments, in order.
29906
- // 1. Inline link title was shifted off by AST.
29932
+ // 1. Inline link title comes first, if present.
29933
+ if (!this[_emberHtmlbarsNodeManagersComponentNodeManager.HAS_BLOCK]) {
29934
+ this.set('linkTitle', params.shift());
29935
+ }
29907
29936
 
29908
29937
  // 2. `targetRouteName` is now always at index 0.
29909
29938
  this.set('targetRouteName', params[0]);
@@ -38320,41 +38349,18 @@ enifed('ember-template-compiler/plugins/transform-closure-component-attrs-into-m
38320
38349
  */
38321
38350
  TransformClosureComponentAttrsIntoMut.prototype.transform = function TransformClosureComponentAttrsIntoMut_transform(ast) {
38322
38351
  var b = this.syntax.builders;
38323
- var walker = new this.syntax.Walker();
38324
38352
 
38325
- walker.visit(ast, function (node) {
38326
- if (validate(node)) {
38327
- processExpression(b, node);
38353
+ this.syntax.traverse(ast, {
38354
+ SubExpression: function (node) {
38355
+ if (isComponentClosure(node)) {
38356
+ mutParameters(b, node);
38357
+ }
38328
38358
  }
38329
38359
  });
38330
38360
 
38331
38361
  return ast;
38332
38362
  };
38333
38363
 
38334
- function processExpression(builder, node) {
38335
- processSubExpressionsInNode(builder, node);
38336
-
38337
- if (isComponentClosure(node)) {
38338
- mutParameters(builder, node);
38339
- }
38340
- }
38341
-
38342
- function processSubExpressionsInNode(builder, node) {
38343
- for (var i = 0; i < node.params.length; i++) {
38344
- if (node.params[i].type === 'SubExpression') {
38345
- processExpression(builder, node.params[i]);
38346
- }
38347
- }
38348
-
38349
- each(node.hash.pairs, function (pair) {
38350
- var value = pair.value;
38351
-
38352
- if (value.type === 'SubExpression') {
38353
- processExpression(builder, value);
38354
- }
38355
- });
38356
- }
38357
-
38358
38364
  function isComponentClosure(node) {
38359
38365
  return node.type === 'SubExpression' && node.path.original === 'component';
38360
38366
  }
@@ -38375,10 +38381,6 @@ enifed('ember-template-compiler/plugins/transform-closure-component-attrs-into-m
38375
38381
  });
38376
38382
  }
38377
38383
 
38378
- function validate(node) {
38379
- return node.type === 'BlockStatement' || node.type === 'MustacheStatement';
38380
- }
38381
-
38382
38384
  function each(list, callback) {
38383
38385
  for (var i = 0, l = list.length; i < l; i++) {
38384
38386
  callback(list[i]);
@@ -39137,7 +39139,7 @@ enifed('ember-template-compiler/system/compile_options', ['exports', 'ember-meta
39137
39139
  options.buildMeta = function buildMeta(program) {
39138
39140
  return {
39139
39141
  fragmentReason: fragmentReason(program),
39140
- revision: 'Ember@2.6.0-beta.2',
39142
+ revision: 'Ember@2.6.0-beta.3',
39141
39143
  loc: program.loc,
39142
39144
  moduleName: options.moduleName
39143
39145
  };