ember-source 2.6.0.beta.1 → 2.6.0.beta.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/dist/ember-runtime.js +19 -26
- data/dist/ember-template-compiler.js +17 -56
- data/dist/ember-testing.js +7 -41
- data/dist/ember.debug.js +63 -184
- data/dist/ember.js +63 -184
- data/dist/ember.min.js +14 -14
- data/dist/ember.prod.js +57 -130
- 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: f7aa27d32b8959dce23d5b48b9743b90da89f916
|
4
|
+
data.tar.gz: 3be5dead084313c2c730b115659e061cdfdd2e16
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 04257954b750f3065f8e56d73f4d3190e38fe00b22366ae28faf9c3d864b68c2c3b02a76a2e4d9673dd9e2832b90180621de673b3daa004418c0e02f0f03c8b4
|
7
|
+
data.tar.gz: a02e2f55d9de141959257571e7f9acd7b9ada0ffe5b2771da70ccd5d3c4ab577723cc040da42756f3c7967a5d9d5f46d28b1a078acd29a7307f7a08f2e764047
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.6.0-beta.
|
1
|
+
2.6.0-beta.2
|
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.0-beta.
|
9
|
+
* @version 2.6.0-beta.2
|
10
10
|
*/
|
11
11
|
|
12
12
|
var enifed, requireModule, require, Ember;
|
@@ -1686,7 +1686,7 @@ enifed('container/registry', ['exports', 'ember-metal/features', 'ember-metal/de
|
|
1686
1686
|
|
1687
1687
|
exports.privatize = privatize;
|
1688
1688
|
|
1689
|
-
var VALID_FULL_NAME_REGEXP = /^[^:]
|
1689
|
+
var VALID_FULL_NAME_REGEXP = /^[^:]+:[^:]+$/;
|
1690
1690
|
|
1691
1691
|
/**
|
1692
1692
|
A registry used to store factory and option information keyed
|
@@ -1996,7 +1996,9 @@ enifed('container/registry', ['exports', 'ember-metal/features', 'ember-metal/de
|
|
1996
1996
|
@return {Boolean}
|
1997
1997
|
*/
|
1998
1998
|
has: function (fullName, options) {
|
1999
|
-
|
1999
|
+
if (!this.isValidFullName(fullName)) {
|
2000
|
+
return false;
|
2001
|
+
}
|
2000
2002
|
|
2001
2003
|
var source = undefined;
|
2002
2004
|
if (_emberMetalFeatures.default('ember-htmlbars-local-lookup')) {
|
@@ -2290,12 +2292,17 @@ enifed('container/registry', ['exports', 'ember-metal/features', 'ember-metal/de
|
|
2290
2292
|
},
|
2291
2293
|
|
2292
2294
|
validateFullName: function (fullName) {
|
2293
|
-
if (!
|
2295
|
+
if (!this.isValidFullName(fullName)) {
|
2294
2296
|
throw new TypeError('Invalid Fullname, expected: `type:name` got: ' + fullName);
|
2295
2297
|
}
|
2298
|
+
|
2296
2299
|
return true;
|
2297
2300
|
},
|
2298
2301
|
|
2302
|
+
isValidFullName: function (fullName) {
|
2303
|
+
return !!VALID_FULL_NAME_REGEXP.test(fullName);
|
2304
|
+
},
|
2305
|
+
|
2299
2306
|
validateInjections: function (injections) {
|
2300
2307
|
if (!injections) {
|
2301
2308
|
return;
|
@@ -4774,7 +4781,7 @@ enifed('ember-metal/core', ['exports', 'require'], function (exports, _require)
|
|
4774
4781
|
|
4775
4782
|
@class Ember
|
4776
4783
|
@static
|
4777
|
-
@version 2.6.0-beta.
|
4784
|
+
@version 2.6.0-beta.2
|
4778
4785
|
@public
|
4779
4786
|
*/
|
4780
4787
|
|
@@ -4816,11 +4823,11 @@ enifed('ember-metal/core', ['exports', 'require'], function (exports, _require)
|
|
4816
4823
|
|
4817
4824
|
@property VERSION
|
4818
4825
|
@type String
|
4819
|
-
@default '2.6.0-beta.
|
4826
|
+
@default '2.6.0-beta.2'
|
4820
4827
|
@static
|
4821
4828
|
@public
|
4822
4829
|
*/
|
4823
|
-
Ember.VERSION = '2.6.0-beta.
|
4830
|
+
Ember.VERSION = '2.6.0-beta.2';
|
4824
4831
|
|
4825
4832
|
/**
|
4826
4833
|
The hash of environment variables used to control various configuration
|
@@ -5967,7 +5974,7 @@ enifed('ember-metal/injected_property', ['exports', 'ember-metal/debug', 'ember-
|
|
5967
5974
|
|
5968
5975
|
function injectedPropertyGet(keyName) {
|
5969
5976
|
var desc = this[keyName];
|
5970
|
-
var owner = _containerOwner.getOwner(this);
|
5977
|
+
var owner = _containerOwner.getOwner(this) || this.container; // fallback to `container` for backwards compat
|
5971
5978
|
|
5972
5979
|
_emberMetalDebug.assert('InjectedProperties should be defined with the Ember.inject computed property macros.', desc && desc.isDescriptor && desc.type);
|
5973
5980
|
_emberMetalDebug.assert('Attempting to lookup an injected property on an object without a container, ensure that the object was instantiated via a container.', owner);
|
@@ -7135,11 +7142,7 @@ enifed('ember-metal/map', ['exports', 'ember-metal/core', 'ember-metal/utils', '
|
|
7135
7142
|
exports.Map = Map;
|
7136
7143
|
exports.MapWithDefault = MapWithDefault;
|
7137
7144
|
});
|
7138
|
-
enifed('ember-metal/merge', ['exports'
|
7139
|
-
'use strict';
|
7140
|
-
|
7141
|
-
exports.default = merge;
|
7142
|
-
|
7145
|
+
enifed('ember-metal/merge', ['exports'], function (exports) {
|
7143
7146
|
/**
|
7144
7147
|
Merge the contents of two objects together into the first object.
|
7145
7148
|
|
@@ -7157,14 +7160,11 @@ enifed('ember-metal/merge', ['exports', 'ember-metal/debug', 'ember-metal/featur
|
|
7157
7160
|
@return {Object}
|
7158
7161
|
@public
|
7159
7162
|
*/
|
7163
|
+
'use strict';
|
7160
7164
|
|
7161
|
-
|
7162
|
-
if (_emberMetalFeatures.default('ember-metal-ember-assign')) {
|
7163
|
-
_emberMetalDebug.deprecate('Usage of `Ember.merge` is deprecated, use `Ember.assign` instead.', false, {
|
7164
|
-
id: 'ember-metal.merge', until: '3.0.0', url: 'http://emberjs.com/deprecations/v2.x/#toc_ember-merge'
|
7165
|
-
});
|
7166
|
-
}
|
7165
|
+
exports.default = merge;
|
7167
7166
|
|
7167
|
+
function merge(original, updates) {
|
7168
7168
|
if (!updates || typeof updates !== 'object') {
|
7169
7169
|
return original;
|
7170
7170
|
}
|
@@ -18688,18 +18688,11 @@ enifed('ember-runtime/system/core_object', ['exports', 'ember-metal/debug', 'emb
|
|
18688
18688
|
var extension = hasToStringExtension ? ':' + this.toStringExtension() : '';
|
18689
18689
|
var ret = '<' + this.constructor.toString() + ':' + _emberMetalUtils.guidFor(this) + extension + '>';
|
18690
18690
|
|
18691
|
-
this.toString = makeToString(ret);
|
18692
18691
|
return ret;
|
18693
18692
|
}, _Mixin$create));
|
18694
18693
|
|
18695
18694
|
CoreObject.PrototypeMixin.ownerConstructor = CoreObject;
|
18696
18695
|
|
18697
|
-
function makeToString(ret) {
|
18698
|
-
return function () {
|
18699
|
-
return ret;
|
18700
|
-
};
|
18701
|
-
}
|
18702
|
-
|
18703
18696
|
CoreObject.__super__ = null;
|
18704
18697
|
|
18705
18698
|
var ClassMixinProps = {
|
@@ -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.
|
9
|
+
* @version 2.6.0-beta.2
|
10
10
|
*/
|
11
11
|
|
12
12
|
var enifed, requireModule, require, Ember;
|
@@ -1300,30 +1300,15 @@ enifed('ember-debug/deprecate', ['exports', 'ember-metal/core', 'ember-metal/err
|
|
1300
1300
|
_emberDebugHandlers.invoke.apply(undefined, ['deprecate'].concat(_slice.call(arguments)));
|
1301
1301
|
}
|
1302
1302
|
});
|
1303
|
-
enifed(
|
1304
|
-
|
1303
|
+
enifed("ember-debug/handlers", ["exports"], function (exports) {
|
1304
|
+
"use strict";
|
1305
1305
|
|
1306
|
-
exports.generateTestAsFunctionDeprecation = generateTestAsFunctionDeprecation;
|
1307
1306
|
exports.registerHandler = registerHandler;
|
1308
1307
|
exports.invoke = invoke;
|
1309
1308
|
var HANDLERS = {};
|
1310
1309
|
|
1311
1310
|
exports.HANDLERS = HANDLERS;
|
1312
1311
|
|
1313
|
-
function generateTestAsFunctionDeprecation(source) {
|
1314
|
-
return 'Calling `' + source + '` with a function argument is deprecated. Please ' + 'use `!!Constructor` for constructors, or an `IIFE` to compute the test for deprecation. ' + 'In a future version, functions will be treated as truthy values instead of being executed.';
|
1315
|
-
}
|
1316
|
-
|
1317
|
-
function normalizeTest(test, source) {
|
1318
|
-
if (_emberDebugIsPlainFunction.default(test)) {
|
1319
|
-
_emberDebugDeprecate.default(generateTestAsFunctionDeprecation(source), false, { id: 'ember-debug.deprecate-test-as-function', until: '2.5.0' });
|
1320
|
-
|
1321
|
-
return test();
|
1322
|
-
}
|
1323
|
-
|
1324
|
-
return test;
|
1325
|
-
}
|
1326
|
-
|
1327
1312
|
function registerHandler(type, callback) {
|
1328
1313
|
var nextHandler = HANDLERS[type] || function () {};
|
1329
1314
|
|
@@ -1333,7 +1318,7 @@ enifed('ember-debug/handlers', ['exports', 'ember-debug/is-plain-function', 'emb
|
|
1333
1318
|
}
|
1334
1319
|
|
1335
1320
|
function invoke(type, message, test, options) {
|
1336
|
-
if (
|
1321
|
+
if (test) {
|
1337
1322
|
return;
|
1338
1323
|
}
|
1339
1324
|
|
@@ -1348,7 +1333,7 @@ enifed('ember-debug/handlers', ['exports', 'ember-debug/is-plain-function', 'emb
|
|
1348
1333
|
}
|
1349
1334
|
}
|
1350
1335
|
});
|
1351
|
-
enifed('ember-debug/index', ['exports', 'ember-metal/core', 'ember-metal/debug', 'ember-metal/features', 'ember-metal/error', 'ember-metal/logger', 'ember-metal/environment', 'ember-debug/deprecate', 'ember-debug/warn'
|
1336
|
+
enifed('ember-debug/index', ['exports', 'ember-metal/core', 'ember-metal/debug', 'ember-metal/features', 'ember-metal/error', 'ember-metal/logger', 'ember-metal/environment', 'ember-debug/deprecate', 'ember-debug/warn'], function (exports, _emberMetalCore, _emberMetalDebug, _emberMetalFeatures, _emberMetalError, _emberMetalLogger, _emberMetalEnvironment, _emberDebugDeprecate, _emberDebugWarn) {
|
1352
1337
|
'use strict';
|
1353
1338
|
|
1354
1339
|
exports._warnIfUsingStrippedFeatureFlags = _warnIfUsingStrippedFeatureFlags;
|
@@ -1385,17 +1370,7 @@ enifed('ember-debug/index', ['exports', 'ember-metal/core', 'ember-metal/debug',
|
|
1385
1370
|
@public
|
1386
1371
|
*/
|
1387
1372
|
_emberMetalDebug.setDebugFunction('assert', function assert(desc, test) {
|
1388
|
-
|
1389
|
-
|
1390
|
-
if (_emberDebugIsPlainFunction.default(test)) {
|
1391
|
-
_emberMetalDebug.deprecate(_emberDebugHandlers.generateTestAsFunctionDeprecation('Ember.assert'), false, { id: 'ember-debug.deprecate-test-as-function', until: '2.5.0' });
|
1392
|
-
|
1393
|
-
throwAssertion = !test();
|
1394
|
-
} else {
|
1395
|
-
throwAssertion = !test;
|
1396
|
-
}
|
1397
|
-
|
1398
|
-
if (throwAssertion) {
|
1373
|
+
if (!test) {
|
1399
1374
|
throw new _emberMetalError.default('Assertion Failed: ' + desc);
|
1400
1375
|
}
|
1401
1376
|
});
|
@@ -1661,15 +1636,6 @@ enifed('ember-debug/index', ['exports', 'ember-metal/core', 'ember-metal/debug',
|
|
1661
1636
|
_emberMetalDebug.warn('Please use `ember.debug.js` instead of `ember.js` for development and debugging.');
|
1662
1637
|
}
|
1663
1638
|
});
|
1664
|
-
enifed('ember-debug/is-plain-function', ['exports'], function (exports) {
|
1665
|
-
'use strict';
|
1666
|
-
|
1667
|
-
exports.default = isPlainFunction;
|
1668
|
-
|
1669
|
-
function isPlainFunction(test) {
|
1670
|
-
return typeof test === 'function' && test.PrototypeMixin === undefined;
|
1671
|
-
}
|
1672
|
-
});
|
1673
1639
|
enifed('ember-debug/warn', ['exports', 'ember-metal/logger', 'ember-metal/debug', 'ember-debug/handlers'], function (exports, _emberMetalLogger, _emberMetalDebug, _emberDebugHandlers) {
|
1674
1640
|
'use strict';
|
1675
1641
|
|
@@ -4022,7 +3988,7 @@ enifed('ember-metal/core', ['exports', 'require'], function (exports, _require)
|
|
4022
3988
|
|
4023
3989
|
@class Ember
|
4024
3990
|
@static
|
4025
|
-
@version 2.6.0-beta.
|
3991
|
+
@version 2.6.0-beta.2
|
4026
3992
|
@public
|
4027
3993
|
*/
|
4028
3994
|
|
@@ -4064,11 +4030,11 @@ enifed('ember-metal/core', ['exports', 'require'], function (exports, _require)
|
|
4064
4030
|
|
4065
4031
|
@property VERSION
|
4066
4032
|
@type String
|
4067
|
-
@default '2.6.0-beta.
|
4033
|
+
@default '2.6.0-beta.2'
|
4068
4034
|
@static
|
4069
4035
|
@public
|
4070
4036
|
*/
|
4071
|
-
Ember.VERSION = '2.6.0-beta.
|
4037
|
+
Ember.VERSION = '2.6.0-beta.2';
|
4072
4038
|
|
4073
4039
|
/**
|
4074
4040
|
The hash of environment variables used to control various configuration
|
@@ -5211,7 +5177,7 @@ enifed('ember-metal/injected_property', ['exports', 'ember-metal/debug', 'ember-
|
|
5211
5177
|
|
5212
5178
|
function injectedPropertyGet(keyName) {
|
5213
5179
|
var desc = this[keyName];
|
5214
|
-
var owner = _containerOwner.getOwner(this);
|
5180
|
+
var owner = _containerOwner.getOwner(this) || this.container; // fallback to `container` for backwards compat
|
5215
5181
|
|
5216
5182
|
_emberMetalDebug.assert('InjectedProperties should be defined with the Ember.inject computed property macros.', desc && desc.isDescriptor && desc.type);
|
5217
5183
|
_emberMetalDebug.assert('Attempting to lookup an injected property on an object without a container, ensure that the object was instantiated via a container.', owner);
|
@@ -6370,11 +6336,7 @@ enifed('ember-metal/map', ['exports', 'ember-metal/core', 'ember-metal/utils', '
|
|
6370
6336
|
exports.Map = Map;
|
6371
6337
|
exports.MapWithDefault = MapWithDefault;
|
6372
6338
|
});
|
6373
|
-
enifed('ember-metal/merge', ['exports'
|
6374
|
-
'use strict';
|
6375
|
-
|
6376
|
-
exports.default = merge;
|
6377
|
-
|
6339
|
+
enifed('ember-metal/merge', ['exports'], function (exports) {
|
6378
6340
|
/**
|
6379
6341
|
Merge the contents of two objects together into the first object.
|
6380
6342
|
|
@@ -6392,12 +6354,11 @@ enifed('ember-metal/merge', ['exports', 'ember-metal/debug', 'ember-metal/featur
|
|
6392
6354
|
@return {Object}
|
6393
6355
|
@public
|
6394
6356
|
*/
|
6357
|
+
'use strict';
|
6395
6358
|
|
6396
|
-
|
6397
|
-
_emberMetalDebug.deprecate('Usage of `Ember.merge` is deprecated, use `Ember.assign` instead.', false, {
|
6398
|
-
id: 'ember-metal.merge', until: '3.0.0', url: 'http://emberjs.com/deprecations/v2.x/#toc_ember-merge'
|
6399
|
-
});
|
6359
|
+
exports.default = merge;
|
6400
6360
|
|
6361
|
+
function merge(original, updates) {
|
6401
6362
|
if (!updates || typeof updates !== 'object') {
|
6402
6363
|
return original;
|
6403
6364
|
}
|
@@ -12774,8 +12735,8 @@ enifed('ember-template-compiler/system/calculate-location-display', ['exports'],
|
|
12774
12735
|
|
12775
12736
|
exports.default = calculateLocationDisplay;
|
12776
12737
|
|
12777
|
-
function calculateLocationDisplay(moduleName) {
|
12778
|
-
var loc =
|
12738
|
+
function calculateLocationDisplay(moduleName, _loc) {
|
12739
|
+
var loc = _loc || {};
|
12779
12740
|
|
12780
12741
|
var _ref = loc.start || {};
|
12781
12742
|
|
@@ -12879,7 +12840,7 @@ enifed('ember-template-compiler/system/compile_options', ['exports', 'ember-meta
|
|
12879
12840
|
options.buildMeta = function buildMeta(program) {
|
12880
12841
|
return {
|
12881
12842
|
fragmentReason: fragmentReason(program),
|
12882
|
-
revision: 'Ember@2.6.0-beta.
|
12843
|
+
revision: 'Ember@2.6.0-beta.2',
|
12883
12844
|
loc: program.loc,
|
12884
12845
|
moduleName: options.moduleName
|
12885
12846
|
};
|
data/dist/ember-testing.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.
|
9
|
+
* @version 2.6.0-beta.2
|
10
10
|
*/
|
11
11
|
|
12
12
|
var enifed, requireModule, require, Ember;
|
@@ -259,30 +259,15 @@ enifed('ember-debug/deprecate', ['exports', 'ember-metal/core', 'ember-metal/err
|
|
259
259
|
_emberDebugHandlers.invoke.apply(undefined, ['deprecate'].concat(_slice.call(arguments)));
|
260
260
|
}
|
261
261
|
});
|
262
|
-
enifed(
|
263
|
-
|
262
|
+
enifed("ember-debug/handlers", ["exports"], function (exports) {
|
263
|
+
"use strict";
|
264
264
|
|
265
|
-
exports.generateTestAsFunctionDeprecation = generateTestAsFunctionDeprecation;
|
266
265
|
exports.registerHandler = registerHandler;
|
267
266
|
exports.invoke = invoke;
|
268
267
|
var HANDLERS = {};
|
269
268
|
|
270
269
|
exports.HANDLERS = HANDLERS;
|
271
270
|
|
272
|
-
function generateTestAsFunctionDeprecation(source) {
|
273
|
-
return 'Calling `' + source + '` with a function argument is deprecated. Please ' + 'use `!!Constructor` for constructors, or an `IIFE` to compute the test for deprecation. ' + 'In a future version, functions will be treated as truthy values instead of being executed.';
|
274
|
-
}
|
275
|
-
|
276
|
-
function normalizeTest(test, source) {
|
277
|
-
if (_emberDebugIsPlainFunction.default(test)) {
|
278
|
-
_emberDebugDeprecate.default(generateTestAsFunctionDeprecation(source), false, { id: 'ember-debug.deprecate-test-as-function', until: '2.5.0' });
|
279
|
-
|
280
|
-
return test();
|
281
|
-
}
|
282
|
-
|
283
|
-
return test;
|
284
|
-
}
|
285
|
-
|
286
271
|
function registerHandler(type, callback) {
|
287
272
|
var nextHandler = HANDLERS[type] || function () {};
|
288
273
|
|
@@ -292,7 +277,7 @@ enifed('ember-debug/handlers', ['exports', 'ember-debug/is-plain-function', 'emb
|
|
292
277
|
}
|
293
278
|
|
294
279
|
function invoke(type, message, test, options) {
|
295
|
-
if (
|
280
|
+
if (test) {
|
296
281
|
return;
|
297
282
|
}
|
298
283
|
|
@@ -307,7 +292,7 @@ enifed('ember-debug/handlers', ['exports', 'ember-debug/is-plain-function', 'emb
|
|
307
292
|
}
|
308
293
|
}
|
309
294
|
});
|
310
|
-
enifed('ember-debug/index', ['exports', 'ember-metal/core', 'ember-metal/debug', 'ember-metal/features', 'ember-metal/error', 'ember-metal/logger', 'ember-metal/environment', 'ember-debug/deprecate', 'ember-debug/warn'
|
295
|
+
enifed('ember-debug/index', ['exports', 'ember-metal/core', 'ember-metal/debug', 'ember-metal/features', 'ember-metal/error', 'ember-metal/logger', 'ember-metal/environment', 'ember-debug/deprecate', 'ember-debug/warn'], function (exports, _emberMetalCore, _emberMetalDebug, _emberMetalFeatures, _emberMetalError, _emberMetalLogger, _emberMetalEnvironment, _emberDebugDeprecate, _emberDebugWarn) {
|
311
296
|
'use strict';
|
312
297
|
|
313
298
|
exports._warnIfUsingStrippedFeatureFlags = _warnIfUsingStrippedFeatureFlags;
|
@@ -344,17 +329,7 @@ enifed('ember-debug/index', ['exports', 'ember-metal/core', 'ember-metal/debug',
|
|
344
329
|
@public
|
345
330
|
*/
|
346
331
|
_emberMetalDebug.setDebugFunction('assert', function assert(desc, test) {
|
347
|
-
|
348
|
-
|
349
|
-
if (_emberDebugIsPlainFunction.default(test)) {
|
350
|
-
_emberMetalDebug.deprecate(_emberDebugHandlers.generateTestAsFunctionDeprecation('Ember.assert'), false, { id: 'ember-debug.deprecate-test-as-function', until: '2.5.0' });
|
351
|
-
|
352
|
-
throwAssertion = !test();
|
353
|
-
} else {
|
354
|
-
throwAssertion = !test;
|
355
|
-
}
|
356
|
-
|
357
|
-
if (throwAssertion) {
|
332
|
+
if (!test) {
|
358
333
|
throw new _emberMetalError.default('Assertion Failed: ' + desc);
|
359
334
|
}
|
360
335
|
});
|
@@ -620,15 +595,6 @@ enifed('ember-debug/index', ['exports', 'ember-metal/core', 'ember-metal/debug',
|
|
620
595
|
_emberMetalDebug.warn('Please use `ember.debug.js` instead of `ember.js` for development and debugging.');
|
621
596
|
}
|
622
597
|
});
|
623
|
-
enifed('ember-debug/is-plain-function', ['exports'], function (exports) {
|
624
|
-
'use strict';
|
625
|
-
|
626
|
-
exports.default = isPlainFunction;
|
627
|
-
|
628
|
-
function isPlainFunction(test) {
|
629
|
-
return typeof test === 'function' && test.PrototypeMixin === undefined;
|
630
|
-
}
|
631
|
-
});
|
632
598
|
enifed('ember-debug/warn', ['exports', 'ember-metal/logger', 'ember-metal/debug', 'ember-debug/handlers'], function (exports, _emberMetalLogger, _emberMetalDebug, _emberDebugHandlers) {
|
633
599
|
'use strict';
|
634
600
|
|
@@ -792,7 +758,7 @@ enifed('ember-testing/helpers', ['exports', 'ember-metal/property_get', 'ember-m
|
|
792
758
|
|
793
759
|
var defaultEventOptions = { canBubble: true, cancelable: true };
|
794
760
|
keyboardEventTypes = ['keydown', 'keypress', 'keyup'];
|
795
|
-
mouseEventTypes = ['click', 'mousedown', 'mouseup', 'dblclick', '
|
761
|
+
mouseEventTypes = ['click', 'mousedown', 'mouseup', 'dblclick', 'mouseenter', 'mouseleave', 'mousemove', 'mouseout', 'mouseover'];
|
796
762
|
|
797
763
|
buildKeyboardEvent = function buildKeyboardEvent(type) {
|
798
764
|
var options = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];
|
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.
|
9
|
+
* @version 2.6.0-beta.2
|
10
10
|
*/
|
11
11
|
|
12
12
|
var enifed, requireModule, require, Ember;
|
@@ -1682,7 +1682,7 @@ enifed('container/registry', ['exports', 'ember-metal/features', 'ember-metal/de
|
|
1682
1682
|
|
1683
1683
|
exports.privatize = privatize;
|
1684
1684
|
|
1685
|
-
var VALID_FULL_NAME_REGEXP = /^[^:]
|
1685
|
+
var VALID_FULL_NAME_REGEXP = /^[^:]+:[^:]+$/;
|
1686
1686
|
|
1687
1687
|
/**
|
1688
1688
|
A registry used to store factory and option information keyed
|
@@ -1992,7 +1992,9 @@ enifed('container/registry', ['exports', 'ember-metal/features', 'ember-metal/de
|
|
1992
1992
|
@return {Boolean}
|
1993
1993
|
*/
|
1994
1994
|
has: function (fullName, options) {
|
1995
|
-
|
1995
|
+
if (!this.isValidFullName(fullName)) {
|
1996
|
+
return false;
|
1997
|
+
}
|
1996
1998
|
|
1997
1999
|
var source = undefined;
|
1998
2000
|
|
@@ -2285,12 +2287,17 @@ enifed('container/registry', ['exports', 'ember-metal/features', 'ember-metal/de
|
|
2285
2287
|
},
|
2286
2288
|
|
2287
2289
|
validateFullName: function (fullName) {
|
2288
|
-
if (!
|
2290
|
+
if (!this.isValidFullName(fullName)) {
|
2289
2291
|
throw new TypeError('Invalid Fullname, expected: `type:name` got: ' + fullName);
|
2290
2292
|
}
|
2293
|
+
|
2291
2294
|
return true;
|
2292
2295
|
},
|
2293
2296
|
|
2297
|
+
isValidFullName: function (fullName) {
|
2298
|
+
return !!VALID_FULL_NAME_REGEXP.test(fullName);
|
2299
|
+
},
|
2300
|
+
|
2294
2301
|
validateInjections: function (injections) {
|
2295
2302
|
if (!injections) {
|
2296
2303
|
return;
|
@@ -6424,30 +6431,15 @@ enifed('ember-debug/deprecate', ['exports', 'ember-metal/core', 'ember-metal/err
|
|
6424
6431
|
_emberDebugHandlers.invoke.apply(undefined, ['deprecate'].concat(_slice.call(arguments)));
|
6425
6432
|
}
|
6426
6433
|
});
|
6427
|
-
enifed(
|
6428
|
-
|
6434
|
+
enifed("ember-debug/handlers", ["exports"], function (exports) {
|
6435
|
+
"use strict";
|
6429
6436
|
|
6430
|
-
exports.generateTestAsFunctionDeprecation = generateTestAsFunctionDeprecation;
|
6431
6437
|
exports.registerHandler = registerHandler;
|
6432
6438
|
exports.invoke = invoke;
|
6433
6439
|
var HANDLERS = {};
|
6434
6440
|
|
6435
6441
|
exports.HANDLERS = HANDLERS;
|
6436
6442
|
|
6437
|
-
function generateTestAsFunctionDeprecation(source) {
|
6438
|
-
return 'Calling `' + source + '` with a function argument is deprecated. Please ' + 'use `!!Constructor` for constructors, or an `IIFE` to compute the test for deprecation. ' + 'In a future version, functions will be treated as truthy values instead of being executed.';
|
6439
|
-
}
|
6440
|
-
|
6441
|
-
function normalizeTest(test, source) {
|
6442
|
-
if (_emberDebugIsPlainFunction.default(test)) {
|
6443
|
-
_emberDebugDeprecate.default(generateTestAsFunctionDeprecation(source), false, { id: 'ember-debug.deprecate-test-as-function', until: '2.5.0' });
|
6444
|
-
|
6445
|
-
return test();
|
6446
|
-
}
|
6447
|
-
|
6448
|
-
return test;
|
6449
|
-
}
|
6450
|
-
|
6451
6443
|
function registerHandler(type, callback) {
|
6452
6444
|
var nextHandler = HANDLERS[type] || function () {};
|
6453
6445
|
|
@@ -6457,7 +6449,7 @@ enifed('ember-debug/handlers', ['exports', 'ember-debug/is-plain-function', 'emb
|
|
6457
6449
|
}
|
6458
6450
|
|
6459
6451
|
function invoke(type, message, test, options) {
|
6460
|
-
if (
|
6452
|
+
if (test) {
|
6461
6453
|
return;
|
6462
6454
|
}
|
6463
6455
|
|
@@ -6472,7 +6464,7 @@ enifed('ember-debug/handlers', ['exports', 'ember-debug/is-plain-function', 'emb
|
|
6472
6464
|
}
|
6473
6465
|
}
|
6474
6466
|
});
|
6475
|
-
enifed('ember-debug/index', ['exports', 'ember-metal/core', 'ember-metal/debug', 'ember-metal/features', 'ember-metal/error', 'ember-metal/logger', 'ember-metal/environment', 'ember-debug/deprecate', 'ember-debug/warn'
|
6467
|
+
enifed('ember-debug/index', ['exports', 'ember-metal/core', 'ember-metal/debug', 'ember-metal/features', 'ember-metal/error', 'ember-metal/logger', 'ember-metal/environment', 'ember-debug/deprecate', 'ember-debug/warn'], function (exports, _emberMetalCore, _emberMetalDebug, _emberMetalFeatures, _emberMetalError, _emberMetalLogger, _emberMetalEnvironment, _emberDebugDeprecate, _emberDebugWarn) {
|
6476
6468
|
'use strict';
|
6477
6469
|
|
6478
6470
|
exports._warnIfUsingStrippedFeatureFlags = _warnIfUsingStrippedFeatureFlags;
|
@@ -6509,17 +6501,7 @@ enifed('ember-debug/index', ['exports', 'ember-metal/core', 'ember-metal/debug',
|
|
6509
6501
|
@public
|
6510
6502
|
*/
|
6511
6503
|
_emberMetalDebug.setDebugFunction('assert', function assert(desc, test) {
|
6512
|
-
|
6513
|
-
|
6514
|
-
if (_emberDebugIsPlainFunction.default(test)) {
|
6515
|
-
_emberMetalDebug.deprecate(_emberDebugHandlers.generateTestAsFunctionDeprecation('Ember.assert'), false, { id: 'ember-debug.deprecate-test-as-function', until: '2.5.0' });
|
6516
|
-
|
6517
|
-
throwAssertion = !test();
|
6518
|
-
} else {
|
6519
|
-
throwAssertion = !test;
|
6520
|
-
}
|
6521
|
-
|
6522
|
-
if (throwAssertion) {
|
6504
|
+
if (!test) {
|
6523
6505
|
throw new _emberMetalError.default('Assertion Failed: ' + desc);
|
6524
6506
|
}
|
6525
6507
|
});
|
@@ -6785,15 +6767,6 @@ enifed('ember-debug/index', ['exports', 'ember-metal/core', 'ember-metal/debug',
|
|
6785
6767
|
_emberMetalDebug.warn('Please use `ember.debug.js` instead of `ember.js` for development and debugging.');
|
6786
6768
|
}
|
6787
6769
|
});
|
6788
|
-
enifed('ember-debug/is-plain-function', ['exports'], function (exports) {
|
6789
|
-
'use strict';
|
6790
|
-
|
6791
|
-
exports.default = isPlainFunction;
|
6792
|
-
|
6793
|
-
function isPlainFunction(test) {
|
6794
|
-
return typeof test === 'function' && test.PrototypeMixin === undefined;
|
6795
|
-
}
|
6796
|
-
});
|
6797
6770
|
enifed('ember-debug/warn', ['exports', 'ember-metal/logger', 'ember-metal/debug', 'ember-debug/handlers'], function (exports, _emberMetalLogger, _emberMetalDebug, _emberDebugHandlers) {
|
6798
6771
|
'use strict';
|
6799
6772
|
|
@@ -9057,6 +9030,7 @@ enifed('ember-htmlbars/hooks/link-render-node', ['exports', 'ember-htmlbars/util
|
|
9057
9030
|
'use strict';
|
9058
9031
|
|
9059
9032
|
exports.default = linkRenderNode;
|
9033
|
+
exports.linkParamsFor = linkParamsFor;
|
9060
9034
|
|
9061
9035
|
function linkRenderNode(renderNode, env, scope, path, params, hash) {
|
9062
9036
|
if (renderNode.streamUnsubscribers) {
|
@@ -9066,18 +9040,10 @@ enifed('ember-htmlbars/hooks/link-render-node', ['exports', 'ember-htmlbars/util
|
|
9066
9040
|
var keyword = env.hooks.keywords[path];
|
9067
9041
|
if (keyword && keyword.link) {
|
9068
9042
|
keyword.link(renderNode.getState(), params, hash);
|
9043
|
+
} else if (path === 'unbound') {
|
9044
|
+
return true;
|
9069
9045
|
} else {
|
9070
|
-
|
9071
|
-
case 'unbound':
|
9072
|
-
return true;
|
9073
|
-
case 'unless':
|
9074
|
-
case 'if':
|
9075
|
-
params[0] = shouldDisplay(params[0], toBool);break;
|
9076
|
-
case 'each':
|
9077
|
-
params[0] = eachParam(params[0]);break;
|
9078
|
-
case 'with':
|
9079
|
-
params[0] = shouldDisplay(params[0], identity);break;
|
9080
|
-
}
|
9046
|
+
linkParamsFor(path, params);
|
9081
9047
|
}
|
9082
9048
|
|
9083
9049
|
// If there is a dot in the path, we need to subscribe to the arguments in the
|
@@ -9114,6 +9080,18 @@ enifed('ember-htmlbars/hooks/link-render-node', ['exports', 'ember-htmlbars/util
|
|
9114
9080
|
return true;
|
9115
9081
|
}
|
9116
9082
|
|
9083
|
+
function linkParamsFor(path, params) {
|
9084
|
+
switch (path) {
|
9085
|
+
case 'unless':
|
9086
|
+
case 'if':
|
9087
|
+
params[0] = shouldDisplay(params[0], toBool);break;
|
9088
|
+
case 'each':
|
9089
|
+
params[0] = eachParam(params[0]);break;
|
9090
|
+
case 'with':
|
9091
|
+
params[0] = shouldDisplay(params[0], identity);break;
|
9092
|
+
}
|
9093
|
+
}
|
9094
|
+
|
9117
9095
|
function eachParam(list) {
|
9118
9096
|
var listChange = getKey(list, '[]');
|
9119
9097
|
|
@@ -9177,7 +9155,7 @@ enifed('ember-htmlbars/hooks/lookup-helper', ['exports', 'ember-htmlbars/system/
|
|
9177
9155
|
return _emberHtmlbarsSystemLookupHelper.default(helperName, scope.getSelf(), env);
|
9178
9156
|
}
|
9179
9157
|
});
|
9180
|
-
enifed('ember-htmlbars/hooks/subexpr', ['exports', 'ember-htmlbars/system/lookup-helper', 'ember-htmlbars/system/invoke-helper', 'ember-metal/streams/utils'], function (exports, _emberHtmlbarsSystemLookupHelper, _emberHtmlbarsSystemInvokeHelper, _emberMetalStreamsUtils) {
|
9158
|
+
enifed('ember-htmlbars/hooks/subexpr', ['exports', 'ember-htmlbars/system/lookup-helper', 'ember-htmlbars/system/invoke-helper', 'ember-metal/streams/utils', 'ember-htmlbars/hooks/link-render-node'], function (exports, _emberHtmlbarsSystemLookupHelper, _emberHtmlbarsSystemInvokeHelper, _emberMetalStreamsUtils, _emberHtmlbarsHooksLinkRenderNode) {
|
9181
9159
|
/**
|
9182
9160
|
@module ember
|
9183
9161
|
@submodule ember-htmlbars
|
@@ -9196,6 +9174,8 @@ enifed('ember-htmlbars/hooks/subexpr', ['exports', 'ember-htmlbars/system/lookup
|
|
9196
9174
|
return keyword(null, env, scope, params, hash, null, null);
|
9197
9175
|
}
|
9198
9176
|
|
9177
|
+
_emberHtmlbarsHooksLinkRenderNode.linkParamsFor(helperName, params);
|
9178
|
+
|
9199
9179
|
var label = labelForSubexpr(params, hash, helperName);
|
9200
9180
|
var helper = _emberHtmlbarsSystemLookupHelper.default(helperName, scope.getSelf(), env);
|
9201
9181
|
|
@@ -10335,7 +10315,7 @@ enifed('ember-htmlbars/keywords/outlet', ['exports', 'ember-metal/debug', 'ember
|
|
10335
10315
|
|
10336
10316
|
'use strict';
|
10337
10317
|
|
10338
|
-
_emberHtmlbarsTemplatesTopLevelView.default.meta.revision = 'Ember@2.6.0-beta.
|
10318
|
+
_emberHtmlbarsTemplatesTopLevelView.default.meta.revision = 'Ember@2.6.0-beta.2';
|
10339
10319
|
|
10340
10320
|
/**
|
10341
10321
|
The `{{outlet}}` helper lets you specify where a child route will render in
|
@@ -15258,7 +15238,7 @@ enifed('ember-metal/core', ['exports', 'require'], function (exports, _require)
|
|
15258
15238
|
|
15259
15239
|
@class Ember
|
15260
15240
|
@static
|
15261
|
-
@version 2.6.0-beta.
|
15241
|
+
@version 2.6.0-beta.2
|
15262
15242
|
@public
|
15263
15243
|
*/
|
15264
15244
|
|
@@ -15300,11 +15280,11 @@ enifed('ember-metal/core', ['exports', 'require'], function (exports, _require)
|
|
15300
15280
|
|
15301
15281
|
@property VERSION
|
15302
15282
|
@type String
|
15303
|
-
@default '2.6.0-beta.
|
15283
|
+
@default '2.6.0-beta.2'
|
15304
15284
|
@static
|
15305
15285
|
@public
|
15306
15286
|
*/
|
15307
|
-
Ember.VERSION = '2.6.0-beta.
|
15287
|
+
Ember.VERSION = '2.6.0-beta.2';
|
15308
15288
|
|
15309
15289
|
/**
|
15310
15290
|
The hash of environment variables used to control various configuration
|
@@ -16447,7 +16427,7 @@ enifed('ember-metal/injected_property', ['exports', 'ember-metal/debug', 'ember-
|
|
16447
16427
|
|
16448
16428
|
function injectedPropertyGet(keyName) {
|
16449
16429
|
var desc = this[keyName];
|
16450
|
-
var owner = _containerOwner.getOwner(this);
|
16430
|
+
var owner = _containerOwner.getOwner(this) || this.container; // fallback to `container` for backwards compat
|
16451
16431
|
|
16452
16432
|
_emberMetalDebug.assert('InjectedProperties should be defined with the Ember.inject computed property macros.', desc && desc.isDescriptor && desc.type);
|
16453
16433
|
_emberMetalDebug.assert('Attempting to lookup an injected property on an object without a container, ensure that the object was instantiated via a container.', owner);
|
@@ -17606,11 +17586,7 @@ enifed('ember-metal/map', ['exports', 'ember-metal/core', 'ember-metal/utils', '
|
|
17606
17586
|
exports.Map = Map;
|
17607
17587
|
exports.MapWithDefault = MapWithDefault;
|
17608
17588
|
});
|
17609
|
-
enifed('ember-metal/merge', ['exports'
|
17610
|
-
'use strict';
|
17611
|
-
|
17612
|
-
exports.default = merge;
|
17613
|
-
|
17589
|
+
enifed('ember-metal/merge', ['exports'], function (exports) {
|
17614
17590
|
/**
|
17615
17591
|
Merge the contents of two objects together into the first object.
|
17616
17592
|
|
@@ -17628,12 +17604,11 @@ enifed('ember-metal/merge', ['exports', 'ember-metal/debug', 'ember-metal/featur
|
|
17628
17604
|
@return {Object}
|
17629
17605
|
@public
|
17630
17606
|
*/
|
17607
|
+
'use strict';
|
17631
17608
|
|
17632
|
-
|
17633
|
-
_emberMetalDebug.deprecate('Usage of `Ember.merge` is deprecated, use `Ember.assign` instead.', false, {
|
17634
|
-
id: 'ember-metal.merge', until: '3.0.0', url: 'http://emberjs.com/deprecations/v2.x/#toc_ember-merge'
|
17635
|
-
});
|
17609
|
+
exports.default = merge;
|
17636
17610
|
|
17611
|
+
function merge(original, updates) {
|
17637
17612
|
if (!updates || typeof updates !== 'object') {
|
17638
17613
|
return original;
|
17639
17614
|
}
|
@@ -25355,14 +25330,11 @@ enifed('ember-routing/system/route', ['exports', 'ember-metal/core', 'ember-meta
|
|
25355
25330
|
App.ApplicationRoute = Ember.Route.extend({
|
25356
25331
|
actions: {
|
25357
25332
|
loading: function(transition, route) {
|
25358
|
-
|
25359
|
-
|
25360
|
-
|
25361
|
-
|
25362
|
-
this.router.one('didTransition', function() {
|
25363
|
-
view.destroy();
|
25333
|
+
let controller = this.controllerFor('foo');
|
25334
|
+
controller.set('currentlyLoading', true);
|
25335
|
+
transition.finally(function() {
|
25336
|
+
controller.set('currentlyLoading', false);
|
25364
25337
|
});
|
25365
|
-
return true; // Bubble the loading event
|
25366
25338
|
}
|
25367
25339
|
}
|
25368
25340
|
});
|
@@ -28623,7 +28595,7 @@ enifed('ember-routing-htmlbars/keywords/action', ['exports', 'htmlbars-runtime/h
|
|
28623
28595
|
return _emberRoutingHtmlbarsKeywordsClosureAction.default(morph, env, scope, params, hash, template, inverse, visitor);
|
28624
28596
|
};
|
28625
28597
|
});
|
28626
|
-
enifed('ember-routing-htmlbars/keywords/closure-action', ['exports', 'ember-metal/streams/stream', 'ember-metal/streams/utils', 'ember-metal/symbol', 'ember-metal/property_get', 'ember-htmlbars/hooks/subexpr', 'ember-metal/error', 'ember-metal/run_loop', 'ember-metal/instrumentation'], function (exports, _emberMetalStreamsStream, _emberMetalStreamsUtils, _emberMetalSymbol, _emberMetalProperty_get, _emberHtmlbarsHooksSubexpr, _emberMetalError, _emberMetalRun_loop, _emberMetalInstrumentation) {
|
28598
|
+
enifed('ember-routing-htmlbars/keywords/closure-action', ['exports', 'ember-metal/streams/stream', 'ember-metal/streams/utils', 'ember-metal/symbol', 'ember-metal/property_get', 'ember-htmlbars/hooks/subexpr', 'ember-metal/error', 'ember-metal/run_loop', 'ember-metal/instrumentation', 'ember-metal/is_none'], function (exports, _emberMetalStreamsStream, _emberMetalStreamsUtils, _emberMetalSymbol, _emberMetalProperty_get, _emberHtmlbarsHooksSubexpr, _emberMetalError, _emberMetalRun_loop, _emberMetalInstrumentation, _emberMetalIs_none) {
|
28627
28599
|
'use strict';
|
28628
28600
|
|
28629
28601
|
exports.default = closureAction;
|
@@ -28638,8 +28610,14 @@ enifed('ember-routing-htmlbars/keywords/closure-action', ['exports', 'ember-meta
|
|
28638
28610
|
var rawAction = params[0];
|
28639
28611
|
var actionArguments = _emberMetalStreamsUtils.readArray(params.slice(1, params.length));
|
28640
28612
|
|
28641
|
-
var target
|
28642
|
-
|
28613
|
+
var target = undefined,
|
28614
|
+
action = undefined,
|
28615
|
+
valuePath = undefined;
|
28616
|
+
|
28617
|
+
if (_emberMetalIs_none.default(rawAction)) {
|
28618
|
+
var label = _emberHtmlbarsHooksSubexpr.labelForSubexpr(params, hash, 'action');
|
28619
|
+
throw new _emberMetalError.default('Action passed is null or undefined in ' + label + ' from ' + _emberMetalStreamsUtils.read(scope.getSelf()) + '.');
|
28620
|
+
} else if (rawAction[INVOKE]) {
|
28643
28621
|
// on-change={{action (mut name)}}
|
28644
28622
|
target = rawAction;
|
28645
28623
|
action = rawAction[INVOKE];
|
@@ -36207,18 +36185,11 @@ enifed('ember-runtime/system/core_object', ['exports', 'ember-metal/debug', 'emb
|
|
36207
36185
|
var extension = hasToStringExtension ? ':' + this.toStringExtension() : '';
|
36208
36186
|
var ret = '<' + this.constructor.toString() + ':' + _emberMetalUtils.guidFor(this) + extension + '>';
|
36209
36187
|
|
36210
|
-
this.toString = makeToString(ret);
|
36211
36188
|
return ret;
|
36212
36189
|
}, _Mixin$create));
|
36213
36190
|
|
36214
36191
|
CoreObject.PrototypeMixin.ownerConstructor = CoreObject;
|
36215
36192
|
|
36216
|
-
function makeToString(ret) {
|
36217
|
-
return function () {
|
36218
|
-
return ret;
|
36219
|
-
};
|
36220
|
-
}
|
36221
|
-
|
36222
36193
|
CoreObject.__super__ = null;
|
36223
36194
|
|
36224
36195
|
var ClassMixinProps = {
|
@@ -39061,8 +39032,8 @@ enifed('ember-template-compiler/system/calculate-location-display', ['exports'],
|
|
39061
39032
|
|
39062
39033
|
exports.default = calculateLocationDisplay;
|
39063
39034
|
|
39064
|
-
function calculateLocationDisplay(moduleName) {
|
39065
|
-
var loc =
|
39035
|
+
function calculateLocationDisplay(moduleName, _loc) {
|
39036
|
+
var loc = _loc || {};
|
39066
39037
|
|
39067
39038
|
var _ref = loc.start || {};
|
39068
39039
|
|
@@ -39166,7 +39137,7 @@ enifed('ember-template-compiler/system/compile_options', ['exports', 'ember-meta
|
|
39166
39137
|
options.buildMeta = function buildMeta(program) {
|
39167
39138
|
return {
|
39168
39139
|
fragmentReason: fragmentReason(program),
|
39169
|
-
revision: 'Ember@2.6.0-beta.
|
39140
|
+
revision: 'Ember@2.6.0-beta.2',
|
39170
39141
|
loc: program.loc,
|
39171
39142
|
moduleName: options.moduleName
|
39172
39143
|
};
|
@@ -39399,7 +39370,7 @@ enifed('ember-testing/helpers', ['exports', 'ember-metal/property_get', 'ember-m
|
|
39399
39370
|
|
39400
39371
|
var defaultEventOptions = { canBubble: true, cancelable: true };
|
39401
39372
|
keyboardEventTypes = ['keydown', 'keypress', 'keyup'];
|
39402
|
-
mouseEventTypes = ['click', 'mousedown', 'mouseup', 'dblclick', '
|
39373
|
+
mouseEventTypes = ['click', 'mousedown', 'mouseup', 'dblclick', 'mouseenter', 'mouseleave', 'mousemove', 'mouseout', 'mouseover'];
|
39403
39374
|
|
39404
39375
|
buildKeyboardEvent = function buildKeyboardEvent(type) {
|
39405
39376
|
var options = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];
|
@@ -40630,48 +40601,6 @@ enifed('ember-views/compat/attrs-proxy', ['exports', 'ember-metal/mixin', 'ember
|
|
40630
40601
|
|
40631
40602
|
exports.default = _emberMetalMixin.Mixin.create(AttrsProxyMixin);
|
40632
40603
|
});
|
40633
|
-
enifed('ember-views/compat/metamorph_view', ['exports', 'ember-metal/debug', 'ember-views/views/view', 'ember-metal/mixin'], function (exports, _emberMetalDebug, _emberViewsViewsView, _emberMetalMixin) {
|
40634
|
-
'use strict';
|
40635
|
-
|
40636
|
-
/**
|
40637
|
-
@module ember
|
40638
|
-
@submodule ember-views
|
40639
|
-
*/
|
40640
|
-
|
40641
|
-
// The `morph` and `outerHTML` properties are internal only
|
40642
|
-
// and not observable.
|
40643
|
-
|
40644
|
-
/**
|
40645
|
-
@class _Metamorph
|
40646
|
-
@namespace Ember
|
40647
|
-
@private
|
40648
|
-
*/
|
40649
|
-
var _Metamorph = _emberMetalMixin.Mixin.create({
|
40650
|
-
tagName: '',
|
40651
|
-
__metamorphType: 'Ember._Metamorph',
|
40652
|
-
|
40653
|
-
instrumentName: 'metamorph',
|
40654
|
-
|
40655
|
-
init: function () {
|
40656
|
-
this._super.apply(this, arguments);
|
40657
|
-
_emberMetalDebug.deprecate('Supplying a tagName to Metamorph views is unreliable and is deprecated. ' + 'You may be setting the tagName on a Handlebars helper that creates a Metamorph.', !this.tagName, { id: 'ember-views.metamorph-tag-name', until: '2.4.0' });
|
40658
|
-
|
40659
|
-
_emberMetalDebug.deprecate('Using ' + this.__metamorphType + ' is deprecated.', false, { id: 'ember-views.metamorph', until: '2.4.0' });
|
40660
|
-
}
|
40661
|
-
});
|
40662
|
-
|
40663
|
-
exports._Metamorph = _Metamorph;
|
40664
|
-
/**
|
40665
|
-
@class _MetamorphView
|
40666
|
-
@namespace Ember
|
40667
|
-
@extends Ember.View
|
40668
|
-
@uses Ember._Metamorph
|
40669
|
-
@private
|
40670
|
-
*/
|
40671
|
-
exports.default = _emberViewsViewsView.default.extend(_Metamorph, {
|
40672
|
-
__metamorphType: 'Ember._MetamorphView'
|
40673
|
-
});
|
40674
|
-
});
|
40675
40604
|
enifed('ember-views/component_lookup', ['exports', 'ember-metal/core', 'ember-metal/debug', 'ember-runtime/system/object', 'ember-htmlbars/system/lookup-helper', 'container/owner'], function (exports, _emberMetalCore, _emberMetalDebug, _emberRuntimeSystemObject, _emberHtmlbarsSystemLookupHelper, _containerOwner) {
|
40676
40605
|
'use strict';
|
40677
40606
|
|
@@ -41261,7 +41190,7 @@ enifed('ember-views/components/component', ['exports', 'ember-metal/debug', 'emb
|
|
41261
41190
|
|
41262
41191
|
exports.default = Component;
|
41263
41192
|
});
|
41264
|
-
enifed('ember-views/index', ['exports', 'ember-runtime', 'ember-views/system/jquery', 'ember-views/system/utils', 'ember-views/system/ext', 'ember-
|
41193
|
+
enifed('ember-views/index', ['exports', 'ember-runtime', 'ember-views/system/jquery', 'ember-views/system/utils', 'ember-views/system/ext', 'ember-metal-views', 'ember-views/components/component', 'ember-views/system/event_dispatcher', 'ember-views/mixins/view_target_action_support', 'ember-views/component_lookup', 'ember-views/views/checkbox', 'ember-views/mixins/text_support', 'ember-views/views/text_field', 'ember-views/views/text_area'], function (exports, _emberRuntime, _emberViewsSystemJquery, _emberViewsSystemUtils, _emberViewsSystemExt, _emberMetalViews, _emberViewsComponentsComponent, _emberViewsSystemEvent_dispatcher, _emberViewsMixinsView_target_action_support, _emberViewsComponent_lookup, _emberViewsViewsCheckbox, _emberViewsMixinsText_support, _emberViewsViewsText_field, _emberViewsViewsText_area) {
|
41265
41194
|
/**
|
41266
41195
|
@module ember
|
41267
41196
|
@submodule ember-views
|
@@ -41290,14 +41219,6 @@ enifed('ember-views/index', ['exports', 'ember-runtime', 'ember-views/system/jqu
|
|
41290
41219
|
ViewUtils.getViewClientRects = _emberViewsSystemUtils.getViewClientRects;
|
41291
41220
|
ViewUtils.getViewBoundingClientRect = _emberViewsSystemUtils.getViewBoundingClientRect;
|
41292
41221
|
|
41293
|
-
if (_emberRuntime.default.ENV._ENABLE_LEGACY_VIEW_SUPPORT) {
|
41294
|
-
_emberRuntime.default.CoreView = _emberViewsViewsCore_view.DeprecatedCoreView;
|
41295
|
-
_emberRuntime.default.View = _emberViewsViewsView.DeprecatedView;
|
41296
|
-
_emberRuntime.default.View.states = _emberViewsViewsStates.states;
|
41297
|
-
_emberRuntime.default.View.cloneStates = _emberViewsViewsStates.cloneStates;
|
41298
|
-
_emberRuntime.default.View._Renderer = _emberMetalViews.Renderer;
|
41299
|
-
}
|
41300
|
-
|
41301
41222
|
_emberRuntime.default._Renderer = _emberMetalViews.Renderer;
|
41302
41223
|
|
41303
41224
|
_emberRuntime.default.Checkbox = _emberViewsViewsCheckbox.default;
|
@@ -41309,12 +41230,6 @@ enifed('ember-views/index', ['exports', 'ember-runtime', 'ember-views/system/jqu
|
|
41309
41230
|
_emberRuntime.default.Component = _emberViewsComponentsComponent.default;
|
41310
41231
|
_emberRuntime.default.EventDispatcher = _emberViewsSystemEvent_dispatcher.default;
|
41311
41232
|
|
41312
|
-
// Deprecated:
|
41313
|
-
if (_emberRuntime.default.ENV._ENABLE_LEGACY_VIEW_SUPPORT) {
|
41314
|
-
_emberRuntime.default._Metamorph = _emberViewsCompatMetamorph_view._Metamorph;
|
41315
|
-
_emberRuntime.default._MetamorphView = _emberViewsCompatMetamorph_view.default;
|
41316
|
-
}
|
41317
|
-
|
41318
41233
|
// END EXPORTS
|
41319
41234
|
|
41320
41235
|
exports.default = _emberRuntime.default;
|
@@ -44293,14 +44208,6 @@ enifed('ember-views/views/core_view', ['exports', 'ember-metal/debug', 'ember-me
|
|
44293
44208
|
isViewFactory: true
|
44294
44209
|
});
|
44295
44210
|
|
44296
|
-
var DeprecatedCoreView = CoreView.extend({
|
44297
|
-
init: function () {
|
44298
|
-
_emberMetalDebug.deprecate('Ember.CoreView is deprecated. Please use Ember.View.', false, { id: 'ember-views.core-view', until: '2.4.0' });
|
44299
|
-
this._super.apply(this, arguments);
|
44300
|
-
}
|
44301
|
-
});
|
44302
|
-
|
44303
|
-
exports.DeprecatedCoreView = DeprecatedCoreView;
|
44304
44211
|
var _domHelper;
|
44305
44212
|
function domHelper() {
|
44306
44213
|
return _domHelper = _domHelper || _require.default('ember-htmlbars/system/dom-helper').default;
|
@@ -44699,7 +44606,7 @@ enifed('ember-views/views/text_field', ['exports', 'ember-metal/computed', 'embe
|
|
44699
44606
|
max: null
|
44700
44607
|
});
|
44701
44608
|
});
|
44702
|
-
enifed('ember-views/views/view', ['exports', 'ember-
|
44609
|
+
enifed('ember-views/views/view', ['exports', 'ember-views/system/ext', 'ember-views/views/core_view', 'ember-views/mixins/view_context_support', 'ember-views/mixins/view_child_views_support', 'ember-views/mixins/legacy_child_views_support', 'ember-views/mixins/view_state_support', 'ember-views/mixins/template_rendering_support', 'ember-views/mixins/class_names_support', 'ember-views/mixins/legacy_view_support', 'ember-views/mixins/instrumentation_support', 'ember-views/mixins/aria_role_support', 'ember-views/mixins/visibility_support', 'ember-views/compat/attrs-proxy', 'ember-views/mixins/view_support'], function (exports, _emberViewsSystemExt, _emberViewsViewsCore_view, _emberViewsMixinsView_context_support, _emberViewsMixinsView_child_views_support, _emberViewsMixinsLegacy_child_views_support, _emberViewsMixinsView_state_support, _emberViewsMixinsTemplate_rendering_support, _emberViewsMixinsClass_names_support, _emberViewsMixinsLegacy_view_support, _emberViewsMixinsInstrumentation_support, _emberViewsMixinsAria_role_support, _emberViewsMixinsVisibility_support, _emberViewsCompatAttrsProxy, _emberViewsMixinsView_support) {
|
44703
44610
|
// jQuery, Ember.lookup,
|
44704
44611
|
// Ember.ENV
|
44705
44612
|
'use strict';
|
@@ -45357,12 +45264,6 @@ enifed('ember-views/views/view', ['exports', 'ember-metal/core', 'ember-metal/de
|
|
45357
45264
|
}
|
45358
45265
|
});
|
45359
45266
|
|
45360
|
-
_emberMetalDeprecate_property.deprecateProperty(View.prototype, 'currentState', '_currentState', {
|
45361
|
-
id: 'ember-view.current-state',
|
45362
|
-
until: '2.3.0',
|
45363
|
-
url: 'http://emberjs.com/deprecations/v2.x/#toc_ember-component-currentstate'
|
45364
|
-
});
|
45365
|
-
|
45366
45267
|
// jscs:enable validateIndentation
|
45367
45268
|
|
45368
45269
|
/*
|
@@ -45403,34 +45304,12 @@ enifed('ember-views/views/view', ['exports', 'ember-metal/core', 'ember-metal/de
|
|
45403
45304
|
views: {}
|
45404
45305
|
});
|
45405
45306
|
|
45406
|
-
function viewDeprecationMessage() {
|
45407
|
-
_emberMetalDebug.deprecate('Ember.View is deprecated. Consult the Deprecations Guide for a migration strategy.', !!_emberMetalCore.default.ENV._ENABLE_LEGACY_VIEW_SUPPORT, {
|
45408
|
-
url: 'http://emberjs.com/deprecations/v1.x/#toc_ember-view',
|
45409
|
-
id: 'ember-views.view-deprecated',
|
45410
|
-
until: '2.4.0'
|
45411
|
-
});
|
45412
|
-
}
|
45413
|
-
|
45414
|
-
var DeprecatedView = View.extend({
|
45415
|
-
init: function () {
|
45416
|
-
viewDeprecationMessage();
|
45417
|
-
this._super.apply(this, arguments);
|
45418
|
-
}
|
45419
|
-
});
|
45420
|
-
|
45421
|
-
DeprecatedView.reopen = function () {
|
45422
|
-
viewDeprecationMessage();
|
45423
|
-
View.reopen.apply(View, arguments);
|
45424
|
-
return this;
|
45425
|
-
};
|
45426
|
-
|
45427
45307
|
exports.default = View;
|
45428
45308
|
exports.ViewContextSupport = _emberViewsMixinsView_context_support.default;
|
45429
45309
|
exports.ViewChildViewsSupport = _emberViewsMixinsView_child_views_support.default;
|
45430
45310
|
exports.ViewStateSupport = _emberViewsMixinsView_state_support.default;
|
45431
45311
|
exports.TemplateRenderingSupport = _emberViewsMixinsTemplate_rendering_support.default;
|
45432
45312
|
exports.ClassNamesSupport = _emberViewsMixinsClass_names_support.default;
|
45433
|
-
exports.DeprecatedView = DeprecatedView;
|
45434
45313
|
});
|
45435
45314
|
// for the side effect of extending Ember.run.queues
|
45436
45315
|
enifed('htmlbars-runtime/expression-visitor', ['exports'], function (exports) {
|