ember-source 2.6.0 → 2.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/dist/ember-runtime.js +14 -66
- data/dist/ember-template-compiler.js +13 -65
- data/dist/ember-testing.js +1 -1
- data/dist/ember.debug.js +32 -75
- data/dist/ember.js +32 -75
- data/dist/ember.min.js +14 -14
- data/dist/ember.prod.js +32 -75
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f27e8a7aeeeb539e54c59e0c0310cf921ffbff2e
|
4
|
+
data.tar.gz: b2b92945ff3d01a5fc31115f2a9704ca7744c406
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ba4e4a07a891624b1c2f8837f3dfacf5156dee31c3cb69baba00a10d41fd175dc11892727636f40c3c26f195a97d4cd8f97daca99e27497cf38b1e0cf7a30014
|
7
|
+
data.tar.gz: 5aeb89bedaae8c73cb683583f88905991f297cc9472a0b86e51fb75ccdc45edae297d89a0b0d4eaa9dcfe2ee265534797bc42b8aa3bc9eb6d75ab5ce2ed1ce6e
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.6.
|
1
|
+
2.6.1
|
data/dist/ember-runtime.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.
|
9
|
+
* @version 2.6.1
|
10
10
|
*/
|
11
11
|
|
12
12
|
var enifed, requireModule, require, Ember;
|
@@ -4783,7 +4783,7 @@ enifed('ember-metal/core', ['exports', 'require'], function (exports, _require)
|
|
4783
4783
|
|
4784
4784
|
@class Ember
|
4785
4785
|
@static
|
4786
|
-
@version 2.6.
|
4786
|
+
@version 2.6.1
|
4787
4787
|
@public
|
4788
4788
|
*/
|
4789
4789
|
|
@@ -4825,11 +4825,11 @@ enifed('ember-metal/core', ['exports', 'require'], function (exports, _require)
|
|
4825
4825
|
|
4826
4826
|
@property VERSION
|
4827
4827
|
@type String
|
4828
|
-
@default '2.6.
|
4828
|
+
@default '2.6.1'
|
4829
4829
|
@static
|
4830
4830
|
@public
|
4831
4831
|
*/
|
4832
|
-
Ember.VERSION = '2.6.
|
4832
|
+
Ember.VERSION = '2.6.1';
|
4833
4833
|
|
4834
4834
|
/**
|
4835
4835
|
The hash of environment variables used to control various configuration
|
@@ -5481,7 +5481,7 @@ enifed('ember-metal/events', ['exports', 'ember-metal/debug', 'ember-metal/utils
|
|
5481
5481
|
}
|
5482
5482
|
} else {
|
5483
5483
|
if (params) {
|
5484
|
-
|
5484
|
+
method.apply(target, params);
|
5485
5485
|
} else {
|
5486
5486
|
method.call(target);
|
5487
5487
|
}
|
@@ -6637,10 +6637,12 @@ enifed('ember-metal/logger', ['exports', 'ember-metal/core', 'ember-metal/error'
|
|
6637
6637
|
```javascript
|
6638
6638
|
Ember.Logger.assert(true); // undefined
|
6639
6639
|
Ember.Logger.assert(true === false); // Throws an Assertion failed error.
|
6640
|
+
Ember.Logger.assert(true === false, 'Something invalid'); // Throws an Assertion failed error with message.
|
6640
6641
|
```
|
6641
6642
|
@method assert
|
6642
6643
|
@for Ember.Logger
|
6643
6644
|
@param {Boolean} bool Value to test
|
6645
|
+
@param {String} message Assertion message on failed
|
6644
6646
|
@public
|
6645
6647
|
*/
|
6646
6648
|
assert: consoleMethod('assert') || assertPolyfill
|
@@ -11542,7 +11544,6 @@ enifed('ember-metal/utils', ['exports'], function (exports) {
|
|
11542
11544
|
exports.tryInvoke = tryInvoke;
|
11543
11545
|
exports.makeArray = makeArray;
|
11544
11546
|
exports.inspect = inspect;
|
11545
|
-
exports.apply = apply;
|
11546
11547
|
exports.applyStr = applyStr;
|
11547
11548
|
exports.lookupDescriptor = lookupDescriptor;
|
11548
11549
|
exports.toString = toString;
|
@@ -11784,15 +11785,16 @@ enifed('ember-metal/utils', ['exports'], function (exports) {
|
|
11784
11785
|
}
|
11785
11786
|
|
11786
11787
|
var HAS_SUPER_PATTERN = /\.(_super|call\(this|apply\(this)/;
|
11788
|
+
var fnToString = Function.prototype.toString;
|
11787
11789
|
|
11788
11790
|
var checkHasSuper = (function () {
|
11789
|
-
var sourceAvailable = (function () {
|
11791
|
+
var sourceAvailable = fnToString.call(function () {
|
11790
11792
|
return this;
|
11791
|
-
}).
|
11793
|
+
}).indexOf('return this') > -1;
|
11792
11794
|
|
11793
11795
|
if (sourceAvailable) {
|
11794
11796
|
return function checkHasSuper(func) {
|
11795
|
-
return HAS_SUPER_PATTERN.test(
|
11797
|
+
return HAS_SUPER_PATTERN.test(fnToString.call(func));
|
11796
11798
|
};
|
11797
11799
|
}
|
11798
11800
|
|
@@ -11839,32 +11841,8 @@ enifed('ember-metal/utils', ['exports'], function (exports) {
|
|
11839
11841
|
function _wrap(func, superFunc) {
|
11840
11842
|
function superWrapper() {
|
11841
11843
|
var orig = this._super;
|
11842
|
-
var length = arguments.length;
|
11843
|
-
var ret = undefined;
|
11844
11844
|
this._super = superFunc;
|
11845
|
-
|
11846
|
-
case 0:
|
11847
|
-
ret = func.call(this);break;
|
11848
|
-
case 1:
|
11849
|
-
ret = func.call(this, arguments[0]);break;
|
11850
|
-
case 2:
|
11851
|
-
ret = func.call(this, arguments[0], arguments[1]);break;
|
11852
|
-
case 3:
|
11853
|
-
ret = func.call(this, arguments[0], arguments[1], arguments[2]);break;
|
11854
|
-
case 4:
|
11855
|
-
ret = func.call(this, arguments[0], arguments[1], arguments[2], arguments[3]);break;
|
11856
|
-
case 5:
|
11857
|
-
ret = func.call(this, arguments[0], arguments[1], arguments[2], arguments[3], arguments[4]);break;
|
11858
|
-
default:
|
11859
|
-
// v8 bug potentially incorrectly deopts this function: https://code.google.com/p/v8/issues/detail?id=3709
|
11860
|
-
// we may want to keep this around till this ages out on mobile
|
11861
|
-
var args = new Array(length);
|
11862
|
-
for (var x = 0; x < length; x++) {
|
11863
|
-
args[x] = arguments[x];
|
11864
|
-
}
|
11865
|
-
ret = func.apply(this, args);
|
11866
|
-
break;
|
11867
|
-
}
|
11845
|
+
var ret = func.apply(this, arguments);
|
11868
11846
|
this._super = orig;
|
11869
11847
|
return ret;
|
11870
11848
|
}
|
@@ -12021,36 +11999,6 @@ enifed('ember-metal/utils', ['exports'], function (exports) {
|
|
12021
11999
|
return '{' + ret.join(', ') + '}';
|
12022
12000
|
}
|
12023
12001
|
|
12024
|
-
// The following functions are intentionally minified to keep the functions
|
12025
|
-
// below Chrome's function body size inlining limit of 600 chars.
|
12026
|
-
/**
|
12027
|
-
@param {Object} t target
|
12028
|
-
@param {Function} m method
|
12029
|
-
@param {Array} a args
|
12030
|
-
@private
|
12031
|
-
*/
|
12032
|
-
|
12033
|
-
function apply(t, m, a) {
|
12034
|
-
var l = a && a.length;
|
12035
|
-
if (!a || !l) {
|
12036
|
-
return m.call(t);
|
12037
|
-
}
|
12038
|
-
switch (l) {
|
12039
|
-
case 1:
|
12040
|
-
return m.call(t, a[0]);
|
12041
|
-
case 2:
|
12042
|
-
return m.call(t, a[0], a[1]);
|
12043
|
-
case 3:
|
12044
|
-
return m.call(t, a[0], a[1], a[2]);
|
12045
|
-
case 4:
|
12046
|
-
return m.call(t, a[0], a[1], a[2], a[3]);
|
12047
|
-
case 5:
|
12048
|
-
return m.call(t, a[0], a[1], a[2], a[3], a[4]);
|
12049
|
-
default:
|
12050
|
-
return m.apply(t, a);
|
12051
|
-
}
|
12052
|
-
}
|
12053
|
-
|
12054
12002
|
/**
|
12055
12003
|
@param {Object} t target
|
12056
12004
|
@param {String} m method
|
@@ -12514,7 +12462,7 @@ enifed('ember-runtime/compare', ['exports', 'ember-runtime/utils', 'ember-runtim
|
|
12514
12462
|
// ,'________________ \`-._`-','
|
12515
12463
|
// `._ ```````````------...___ '-.._'-:
|
12516
12464
|
// ```--.._ ,. ````--...__\-.
|
12517
|
-
// `.--. `-` "
|
12465
|
+
// `.--. `-` "INFINITY IS LESS ____ | |`
|
12518
12466
|
// `. `. THAN BEYOND" ,'`````. ; ;`
|
12519
12467
|
// `._`. __________ `. \'__/`
|
12520
12468
|
// `-:._____/______/___/____`. \ `
|
@@ -13632,7 +13580,7 @@ enifed('ember-runtime/ext/function', ['exports', 'ember-metal/core', 'ember-meta
|
|
13632
13580
|
will not immediately trigger an update of the computed property, but
|
13633
13581
|
will instead clear the cache so that it is updated when the next `get`
|
13634
13582
|
is called on the property.
|
13635
|
-
See [Ember.ComputedProperty](/api/classes/Ember.ComputedProperty.html), [Ember.computed](/api
|
13583
|
+
See [Ember.ComputedProperty](/api/classes/Ember.ComputedProperty.html), [Ember.computed](/api/classes/Ember.computed.html).
|
13636
13584
|
@method property
|
13637
13585
|
@for Function
|
13638
13586
|
@public
|
@@ -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.
|
9
|
+
* @version 2.6.1
|
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.
|
3991
|
+
@version 2.6.1
|
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.
|
4033
|
+
@default '2.6.1'
|
4034
4034
|
@static
|
4035
4035
|
@public
|
4036
4036
|
*/
|
4037
|
-
Ember.VERSION = '2.6.
|
4037
|
+
Ember.VERSION = '2.6.1';
|
4038
4038
|
|
4039
4039
|
/**
|
4040
4040
|
The hash of environment variables used to control various configuration
|
@@ -4686,7 +4686,7 @@ enifed('ember-metal/events', ['exports', 'ember-metal/debug', 'ember-metal/utils
|
|
4686
4686
|
}
|
4687
4687
|
} else {
|
4688
4688
|
if (params) {
|
4689
|
-
|
4689
|
+
method.apply(target, params);
|
4690
4690
|
} else {
|
4691
4691
|
method.call(target);
|
4692
4692
|
}
|
@@ -5829,10 +5829,12 @@ enifed('ember-metal/logger', ['exports', 'ember-metal/core', 'ember-metal/error'
|
|
5829
5829
|
```javascript
|
5830
5830
|
Ember.Logger.assert(true); // undefined
|
5831
5831
|
Ember.Logger.assert(true === false); // Throws an Assertion failed error.
|
5832
|
+
Ember.Logger.assert(true === false, 'Something invalid'); // Throws an Assertion failed error with message.
|
5832
5833
|
```
|
5833
5834
|
@method assert
|
5834
5835
|
@for Ember.Logger
|
5835
5836
|
@param {Boolean} bool Value to test
|
5837
|
+
@param {String} message Assertion message on failed
|
5836
5838
|
@public
|
5837
5839
|
*/
|
5838
5840
|
assert: consoleMethod('assert') || assertPolyfill
|
@@ -10725,7 +10727,6 @@ enifed('ember-metal/utils', ['exports'], function (exports) {
|
|
10725
10727
|
exports.tryInvoke = tryInvoke;
|
10726
10728
|
exports.makeArray = makeArray;
|
10727
10729
|
exports.inspect = inspect;
|
10728
|
-
exports.apply = apply;
|
10729
10730
|
exports.applyStr = applyStr;
|
10730
10731
|
exports.lookupDescriptor = lookupDescriptor;
|
10731
10732
|
exports.toString = toString;
|
@@ -10967,15 +10968,16 @@ enifed('ember-metal/utils', ['exports'], function (exports) {
|
|
10967
10968
|
}
|
10968
10969
|
|
10969
10970
|
var HAS_SUPER_PATTERN = /\.(_super|call\(this|apply\(this)/;
|
10971
|
+
var fnToString = Function.prototype.toString;
|
10970
10972
|
|
10971
10973
|
var checkHasSuper = (function () {
|
10972
|
-
var sourceAvailable = (function () {
|
10974
|
+
var sourceAvailable = fnToString.call(function () {
|
10973
10975
|
return this;
|
10974
|
-
}).
|
10976
|
+
}).indexOf('return this') > -1;
|
10975
10977
|
|
10976
10978
|
if (sourceAvailable) {
|
10977
10979
|
return function checkHasSuper(func) {
|
10978
|
-
return HAS_SUPER_PATTERN.test(
|
10980
|
+
return HAS_SUPER_PATTERN.test(fnToString.call(func));
|
10979
10981
|
};
|
10980
10982
|
}
|
10981
10983
|
|
@@ -11022,32 +11024,8 @@ enifed('ember-metal/utils', ['exports'], function (exports) {
|
|
11022
11024
|
function _wrap(func, superFunc) {
|
11023
11025
|
function superWrapper() {
|
11024
11026
|
var orig = this._super;
|
11025
|
-
var length = arguments.length;
|
11026
|
-
var ret = undefined;
|
11027
11027
|
this._super = superFunc;
|
11028
|
-
|
11029
|
-
case 0:
|
11030
|
-
ret = func.call(this);break;
|
11031
|
-
case 1:
|
11032
|
-
ret = func.call(this, arguments[0]);break;
|
11033
|
-
case 2:
|
11034
|
-
ret = func.call(this, arguments[0], arguments[1]);break;
|
11035
|
-
case 3:
|
11036
|
-
ret = func.call(this, arguments[0], arguments[1], arguments[2]);break;
|
11037
|
-
case 4:
|
11038
|
-
ret = func.call(this, arguments[0], arguments[1], arguments[2], arguments[3]);break;
|
11039
|
-
case 5:
|
11040
|
-
ret = func.call(this, arguments[0], arguments[1], arguments[2], arguments[3], arguments[4]);break;
|
11041
|
-
default:
|
11042
|
-
// v8 bug potentially incorrectly deopts this function: https://code.google.com/p/v8/issues/detail?id=3709
|
11043
|
-
// we may want to keep this around till this ages out on mobile
|
11044
|
-
var args = new Array(length);
|
11045
|
-
for (var x = 0; x < length; x++) {
|
11046
|
-
args[x] = arguments[x];
|
11047
|
-
}
|
11048
|
-
ret = func.apply(this, args);
|
11049
|
-
break;
|
11050
|
-
}
|
11028
|
+
var ret = func.apply(this, arguments);
|
11051
11029
|
this._super = orig;
|
11052
11030
|
return ret;
|
11053
11031
|
}
|
@@ -11204,36 +11182,6 @@ enifed('ember-metal/utils', ['exports'], function (exports) {
|
|
11204
11182
|
return '{' + ret.join(', ') + '}';
|
11205
11183
|
}
|
11206
11184
|
|
11207
|
-
// The following functions are intentionally minified to keep the functions
|
11208
|
-
// below Chrome's function body size inlining limit of 600 chars.
|
11209
|
-
/**
|
11210
|
-
@param {Object} t target
|
11211
|
-
@param {Function} m method
|
11212
|
-
@param {Array} a args
|
11213
|
-
@private
|
11214
|
-
*/
|
11215
|
-
|
11216
|
-
function apply(t, m, a) {
|
11217
|
-
var l = a && a.length;
|
11218
|
-
if (!a || !l) {
|
11219
|
-
return m.call(t);
|
11220
|
-
}
|
11221
|
-
switch (l) {
|
11222
|
-
case 1:
|
11223
|
-
return m.call(t, a[0]);
|
11224
|
-
case 2:
|
11225
|
-
return m.call(t, a[0], a[1]);
|
11226
|
-
case 3:
|
11227
|
-
return m.call(t, a[0], a[1], a[2]);
|
11228
|
-
case 4:
|
11229
|
-
return m.call(t, a[0], a[1], a[2], a[3]);
|
11230
|
-
case 5:
|
11231
|
-
return m.call(t, a[0], a[1], a[2], a[3], a[4]);
|
11232
|
-
default:
|
11233
|
-
return m.apply(t, a);
|
11234
|
-
}
|
11235
|
-
}
|
11236
|
-
|
11237
11185
|
/**
|
11238
11186
|
@param {Object} t target
|
11239
11187
|
@param {String} m method
|
@@ -12826,7 +12774,7 @@ enifed('ember-template-compiler/system/compile_options', ['exports', 'ember-meta
|
|
12826
12774
|
options.buildMeta = function buildMeta(program) {
|
12827
12775
|
return {
|
12828
12776
|
fragmentReason: fragmentReason(program),
|
12829
|
-
revision: 'Ember@2.6.
|
12777
|
+
revision: 'Ember@2.6.1',
|
12830
12778
|
loc: program.loc,
|
12831
12779
|
moduleName: options.moduleName
|
12832
12780
|
};
|
data/dist/ember-testing.js
CHANGED
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.
|
9
|
+
* @version 2.6.1
|
10
10
|
*/
|
11
11
|
|
12
12
|
var enifed, requireModule, require, Ember;
|
@@ -4397,9 +4397,8 @@ enifed('ember-application/system/application', ['exports', 'ember-metal', 'ember
|
|
4397
4397
|
not receive events.* If you specify a custom root element, make sure you only
|
4398
4398
|
append views inside it!
|
4399
4399
|
|
4400
|
-
To learn more about the
|
4401
|
-
|
4402
|
-
[Ember View Layer guide](http://emberjs.com/guides/understanding-ember/the-view-layer/#toc_event-delegation).
|
4400
|
+
To learn more about the events Ember components use, see
|
4401
|
+
[components/handling-events](https://guides.emberjs.com/v2.6.0/components/handling-events/#toc_event-names).
|
4403
4402
|
|
4404
4403
|
### Initializers
|
4405
4404
|
|
@@ -8421,9 +8420,15 @@ enifed('ember-htmlbars/hooks/component', ['exports', 'ember-metal/features', 'em
|
|
8421
8420
|
|
8422
8421
|
// Determine if this is an initial render or a re-render.
|
8423
8422
|
if (state.manager) {
|
8424
|
-
var
|
8423
|
+
var sm = state.manager;
|
8424
|
+
var templateMeta = null;
|
8425
|
+
if (sm.block) {
|
8426
|
+
templateMeta = sm.block.template.meta;
|
8427
|
+
} else if (sm.scope && sm.scope._view) {
|
8428
|
+
templateMeta = sm.scope._view.template.meta;
|
8429
|
+
}
|
8425
8430
|
env.meta.moduleName = templateMeta && templateMeta.moduleName || env.meta && env.meta.moduleName;
|
8426
|
-
_emberHtmlbarsUtilsExtractPositionalParams.default(renderNode,
|
8431
|
+
_emberHtmlbarsUtilsExtractPositionalParams.default(renderNode, sm.component.constructor, params, attrs, false);
|
8427
8432
|
state.manager.rerender(env, attrs, visitor);
|
8428
8433
|
return;
|
8429
8434
|
}
|
@@ -10315,7 +10320,7 @@ enifed('ember-htmlbars/keywords/outlet', ['exports', 'ember-metal/debug', 'ember
|
|
10315
10320
|
|
10316
10321
|
'use strict';
|
10317
10322
|
|
10318
|
-
_emberHtmlbarsTemplatesTopLevelView.default.meta.revision = 'Ember@2.6.
|
10323
|
+
_emberHtmlbarsTemplatesTopLevelView.default.meta.revision = 'Ember@2.6.1';
|
10319
10324
|
|
10320
10325
|
/**
|
10321
10326
|
The `{{outlet}}` helper lets you specify where a child route will render in
|
@@ -15242,7 +15247,7 @@ enifed('ember-metal/core', ['exports', 'require'], function (exports, _require)
|
|
15242
15247
|
|
15243
15248
|
@class Ember
|
15244
15249
|
@static
|
15245
|
-
@version 2.6.
|
15250
|
+
@version 2.6.1
|
15246
15251
|
@public
|
15247
15252
|
*/
|
15248
15253
|
|
@@ -15284,11 +15289,11 @@ enifed('ember-metal/core', ['exports', 'require'], function (exports, _require)
|
|
15284
15289
|
|
15285
15290
|
@property VERSION
|
15286
15291
|
@type String
|
15287
|
-
@default '2.6.
|
15292
|
+
@default '2.6.1'
|
15288
15293
|
@static
|
15289
15294
|
@public
|
15290
15295
|
*/
|
15291
|
-
Ember.VERSION = '2.6.
|
15296
|
+
Ember.VERSION = '2.6.1';
|
15292
15297
|
|
15293
15298
|
/**
|
15294
15299
|
The hash of environment variables used to control various configuration
|
@@ -15940,7 +15945,7 @@ enifed('ember-metal/events', ['exports', 'ember-metal/debug', 'ember-metal/utils
|
|
15940
15945
|
}
|
15941
15946
|
} else {
|
15942
15947
|
if (params) {
|
15943
|
-
|
15948
|
+
method.apply(target, params);
|
15944
15949
|
} else {
|
15945
15950
|
method.call(target);
|
15946
15951
|
}
|
@@ -17083,10 +17088,12 @@ enifed('ember-metal/logger', ['exports', 'ember-metal/core', 'ember-metal/error'
|
|
17083
17088
|
```javascript
|
17084
17089
|
Ember.Logger.assert(true); // undefined
|
17085
17090
|
Ember.Logger.assert(true === false); // Throws an Assertion failed error.
|
17091
|
+
Ember.Logger.assert(true === false, 'Something invalid'); // Throws an Assertion failed error with message.
|
17086
17092
|
```
|
17087
17093
|
@method assert
|
17088
17094
|
@for Ember.Logger
|
17089
17095
|
@param {Boolean} bool Value to test
|
17096
|
+
@param {String} message Assertion message on failed
|
17090
17097
|
@public
|
17091
17098
|
*/
|
17092
17099
|
assert: consoleMethod('assert') || assertPolyfill
|
@@ -21979,7 +21986,6 @@ enifed('ember-metal/utils', ['exports'], function (exports) {
|
|
21979
21986
|
exports.tryInvoke = tryInvoke;
|
21980
21987
|
exports.makeArray = makeArray;
|
21981
21988
|
exports.inspect = inspect;
|
21982
|
-
exports.apply = apply;
|
21983
21989
|
exports.applyStr = applyStr;
|
21984
21990
|
exports.lookupDescriptor = lookupDescriptor;
|
21985
21991
|
exports.toString = toString;
|
@@ -22221,15 +22227,16 @@ enifed('ember-metal/utils', ['exports'], function (exports) {
|
|
22221
22227
|
}
|
22222
22228
|
|
22223
22229
|
var HAS_SUPER_PATTERN = /\.(_super|call\(this|apply\(this)/;
|
22230
|
+
var fnToString = Function.prototype.toString;
|
22224
22231
|
|
22225
22232
|
var checkHasSuper = (function () {
|
22226
|
-
var sourceAvailable = (function () {
|
22233
|
+
var sourceAvailable = fnToString.call(function () {
|
22227
22234
|
return this;
|
22228
|
-
}).
|
22235
|
+
}).indexOf('return this') > -1;
|
22229
22236
|
|
22230
22237
|
if (sourceAvailable) {
|
22231
22238
|
return function checkHasSuper(func) {
|
22232
|
-
return HAS_SUPER_PATTERN.test(
|
22239
|
+
return HAS_SUPER_PATTERN.test(fnToString.call(func));
|
22233
22240
|
};
|
22234
22241
|
}
|
22235
22242
|
|
@@ -22276,32 +22283,8 @@ enifed('ember-metal/utils', ['exports'], function (exports) {
|
|
22276
22283
|
function _wrap(func, superFunc) {
|
22277
22284
|
function superWrapper() {
|
22278
22285
|
var orig = this._super;
|
22279
|
-
var length = arguments.length;
|
22280
|
-
var ret = undefined;
|
22281
22286
|
this._super = superFunc;
|
22282
|
-
|
22283
|
-
case 0:
|
22284
|
-
ret = func.call(this);break;
|
22285
|
-
case 1:
|
22286
|
-
ret = func.call(this, arguments[0]);break;
|
22287
|
-
case 2:
|
22288
|
-
ret = func.call(this, arguments[0], arguments[1]);break;
|
22289
|
-
case 3:
|
22290
|
-
ret = func.call(this, arguments[0], arguments[1], arguments[2]);break;
|
22291
|
-
case 4:
|
22292
|
-
ret = func.call(this, arguments[0], arguments[1], arguments[2], arguments[3]);break;
|
22293
|
-
case 5:
|
22294
|
-
ret = func.call(this, arguments[0], arguments[1], arguments[2], arguments[3], arguments[4]);break;
|
22295
|
-
default:
|
22296
|
-
// v8 bug potentially incorrectly deopts this function: https://code.google.com/p/v8/issues/detail?id=3709
|
22297
|
-
// we may want to keep this around till this ages out on mobile
|
22298
|
-
var args = new Array(length);
|
22299
|
-
for (var x = 0; x < length; x++) {
|
22300
|
-
args[x] = arguments[x];
|
22301
|
-
}
|
22302
|
-
ret = func.apply(this, args);
|
22303
|
-
break;
|
22304
|
-
}
|
22287
|
+
var ret = func.apply(this, arguments);
|
22305
22288
|
this._super = orig;
|
22306
22289
|
return ret;
|
22307
22290
|
}
|
@@ -22458,36 +22441,6 @@ enifed('ember-metal/utils', ['exports'], function (exports) {
|
|
22458
22441
|
return '{' + ret.join(', ') + '}';
|
22459
22442
|
}
|
22460
22443
|
|
22461
|
-
// The following functions are intentionally minified to keep the functions
|
22462
|
-
// below Chrome's function body size inlining limit of 600 chars.
|
22463
|
-
/**
|
22464
|
-
@param {Object} t target
|
22465
|
-
@param {Function} m method
|
22466
|
-
@param {Array} a args
|
22467
|
-
@private
|
22468
|
-
*/
|
22469
|
-
|
22470
|
-
function apply(t, m, a) {
|
22471
|
-
var l = a && a.length;
|
22472
|
-
if (!a || !l) {
|
22473
|
-
return m.call(t);
|
22474
|
-
}
|
22475
|
-
switch (l) {
|
22476
|
-
case 1:
|
22477
|
-
return m.call(t, a[0]);
|
22478
|
-
case 2:
|
22479
|
-
return m.call(t, a[0], a[1]);
|
22480
|
-
case 3:
|
22481
|
-
return m.call(t, a[0], a[1], a[2]);
|
22482
|
-
case 4:
|
22483
|
-
return m.call(t, a[0], a[1], a[2], a[3]);
|
22484
|
-
case 5:
|
22485
|
-
return m.call(t, a[0], a[1], a[2], a[3], a[4]);
|
22486
|
-
default:
|
22487
|
-
return m.apply(t, a);
|
22488
|
-
}
|
22489
|
-
}
|
22490
|
-
|
22491
22444
|
/**
|
22492
22445
|
@param {Object} t target
|
22493
22446
|
@param {String} m method
|
@@ -26677,9 +26630,13 @@ enifed('ember-routing/system/route', ['exports', 'ember-metal/core', 'ember-meta
|
|
26677
26630
|
// into its outlets, which won't render anywhere. All of this
|
26678
26631
|
// statefulness should get the machete in 2.0.
|
26679
26632
|
this.connections[i] = {
|
26633
|
+
owner: connection.owner,
|
26680
26634
|
into: connection.into,
|
26681
26635
|
outlet: connection.outlet,
|
26682
|
-
name: connection.name
|
26636
|
+
name: connection.name,
|
26637
|
+
controller: undefined,
|
26638
|
+
template: undefined,
|
26639
|
+
ViewClass: undefined
|
26683
26640
|
};
|
26684
26641
|
_emberMetalRun_loop.default.once(this.router, '_setOutlets');
|
26685
26642
|
}
|
@@ -30087,7 +30044,7 @@ enifed('ember-runtime/compare', ['exports', 'ember-runtime/utils', 'ember-runtim
|
|
30087
30044
|
// ,'________________ \`-._`-','
|
30088
30045
|
// `._ ```````````------...___ '-.._'-:
|
30089
30046
|
// ```--.._ ,. ````--...__\-.
|
30090
|
-
// `.--. `-` "
|
30047
|
+
// `.--. `-` "INFINITY IS LESS ____ | |`
|
30091
30048
|
// `. `. THAN BEYOND" ,'`````. ; ;`
|
30092
30049
|
// `._`. __________ `. \'__/`
|
30093
30050
|
// `-:._____/______/___/____`. \ `
|
@@ -31205,7 +31162,7 @@ enifed('ember-runtime/ext/function', ['exports', 'ember-metal/core', 'ember-meta
|
|
31205
31162
|
will not immediately trigger an update of the computed property, but
|
31206
31163
|
will instead clear the cache so that it is updated when the next `get`
|
31207
31164
|
is called on the property.
|
31208
|
-
See [Ember.ComputedProperty](/api/classes/Ember.ComputedProperty.html), [Ember.computed](/api
|
31165
|
+
See [Ember.ComputedProperty](/api/classes/Ember.ComputedProperty.html), [Ember.computed](/api/classes/Ember.computed.html).
|
31209
31166
|
@method property
|
31210
31167
|
@for Function
|
31211
31168
|
@public
|
@@ -39174,7 +39131,7 @@ enifed('ember-template-compiler/system/compile_options', ['exports', 'ember-meta
|
|
39174
39131
|
options.buildMeta = function buildMeta(program) {
|
39175
39132
|
return {
|
39176
39133
|
fragmentReason: fragmentReason(program),
|
39177
|
-
revision: 'Ember@2.6.
|
39134
|
+
revision: 'Ember@2.6.1',
|
39178
39135
|
loc: program.loc,
|
39179
39136
|
moduleName: options.moduleName
|
39180
39137
|
};
|
@@ -40876,7 +40833,7 @@ enifed('ember-views/components/component', ['exports', 'ember-metal/debug', 'emb
|
|
40876
40833
|
}),
|
40877
40834
|
|
40878
40835
|
/**
|
40879
|
-
Calls
|
40836
|
+
Calls an action passed to a component.
|
40880
40837
|
For example a component for playing or pausing music may translate click events
|
40881
40838
|
into action notifications of "play" or "stop" depending on some internal state
|
40882
40839
|
of the component:
|