ember-source 1.13.4 → 1.13.4.1
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of ember-source might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/dist/ember-template-compiler.js +26 -68
- data/dist/ember-testing.js +1 -37
- data/dist/ember.debug.js +54 -186
- data/dist/ember.js +54 -186
- data/dist/ember.min.js +16 -16
- data/dist/ember.prod.js +47 -240
- 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: 5eefb751b3e8ec055dde0d30ebf7a13cdf7b16d3
|
4
|
+
data.tar.gz: 36c37281b1f88f56d6c13229dc04557edd88be06
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d97182f83e7025e13edf13aaecc8325a1783b8322e50cb43d1bf471a0c3e3f3dc5f10df8a10d0051f0f821bf40971fd0a5f794670d35d0293405a73108c082d9
|
7
|
+
data.tar.gz: 9fc0f1def4e5e610ac29730b67beca45a87b70cca87cd888f499622d65f1843148fd109ca2d833cee3c1546196e90a367ff094fdf2b11f38579bc0adbe6ac8b8
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.13.4
|
1
|
+
1.13.4.1
|
@@ -391,10 +391,7 @@ enifed("ember-debug", ["exports", "ember-metal/core", "ember-metal/error", "embe
|
|
391
391
|
_emberMetalCore["default"].FEATURES["features-stripped-test"] = true;
|
392
392
|
var featuresWereStripped = true;
|
393
393
|
|
394
|
-
|
395
|
-
featuresWereStripped = false;
|
396
|
-
}
|
397
|
-
|
394
|
+
|
398
395
|
delete _emberMetalCore["default"].FEATURES["features-stripped-test"];
|
399
396
|
_warnIfUsingStrippedFeatureFlags(_emberMetalCore["default"].ENV.FEATURES, featuresWereStripped);
|
400
397
|
|
@@ -649,23 +646,7 @@ enifed("ember-metal", ["exports", "ember-metal/core", "ember-metal/merge", "embe
|
|
649
646
|
|
650
647
|
_emberMetalCore["default"].merge = _emberMetalMerge["default"];
|
651
648
|
|
652
|
-
|
653
|
-
_emberMetalCore["default"].stream = {
|
654
|
-
Stream: _emberMetalStreamsStream["default"],
|
655
|
-
|
656
|
-
isStream: _emberMetalStreamsUtils.isStream,
|
657
|
-
subscribe: _emberMetalStreamsUtils.subscribe,
|
658
|
-
unsubscribe: _emberMetalStreamsUtils.unsubscribe,
|
659
|
-
read: _emberMetalStreamsUtils.read,
|
660
|
-
readHash: _emberMetalStreamsUtils.readHash,
|
661
|
-
readArray: _emberMetalStreamsUtils.readArray,
|
662
|
-
scanArray: _emberMetalStreamsUtils.scanArray,
|
663
|
-
scanHash: _emberMetalStreamsUtils.scanHash,
|
664
|
-
concat: _emberMetalStreamsUtils.concat,
|
665
|
-
chain: _emberMetalStreamsUtils.chain
|
666
|
-
};
|
667
|
-
}
|
668
|
-
|
649
|
+
|
669
650
|
/**
|
670
651
|
A function may be assigned to `Ember.onerror` to be called when Ember
|
671
652
|
internals encounter an error. This is useful for specialized error handling
|
@@ -5178,12 +5159,7 @@ enifed("ember-metal/libraries", ["exports", "ember-metal/core", "ember-metal/enu
|
|
5178
5159
|
}
|
5179
5160
|
};
|
5180
5161
|
|
5181
|
-
|
5182
|
-
Libraries.prototype.isRegistered = function (name) {
|
5183
|
-
return !!this._getLibraryByName(name);
|
5184
|
-
};
|
5185
|
-
}
|
5186
|
-
|
5162
|
+
|
5187
5163
|
exports["default"] = Libraries;
|
5188
5164
|
});
|
5189
5165
|
enifed("ember-metal/logger", ["exports", "ember-metal/core", "ember-metal/error"], function (exports, _emberMetalCore, _emberMetalError) {
|
@@ -7559,7 +7535,7 @@ enifed("ember-metal/properties", ["exports", "ember-metal/core", "ember-metal/ut
|
|
7559
7535
|
if (desc instanceof Descriptor) {
|
7560
7536
|
value = desc;
|
7561
7537
|
|
7562
|
-
|
7538
|
+
|
7563
7539
|
if (watching && _emberMetalPlatformDefine_property.hasPropertyAccessors) {
|
7564
7540
|
_emberMetalPlatformDefine_property.defineProperty(obj, keyName, {
|
7565
7541
|
configurable: true,
|
@@ -7570,17 +7546,14 @@ enifed("ember-metal/properties", ["exports", "ember-metal/core", "ember-metal/ut
|
|
7570
7546
|
} else {
|
7571
7547
|
obj[keyName] = value;
|
7572
7548
|
}
|
7573
|
-
|
7574
|
-
obj[keyName] = value;
|
7575
|
-
}
|
7576
|
-
if (desc.setup) {
|
7549
|
+
if (desc.setup) {
|
7577
7550
|
desc.setup(obj, keyName);
|
7578
7551
|
}
|
7579
7552
|
} else {
|
7580
7553
|
if (desc == null) {
|
7581
7554
|
value = data;
|
7582
7555
|
|
7583
|
-
|
7556
|
+
|
7584
7557
|
if (watching && _emberMetalPlatformDefine_property.hasPropertyAccessors) {
|
7585
7558
|
meta.values[keyName] = data;
|
7586
7559
|
_emberMetalPlatformDefine_property.defineProperty(obj, keyName, {
|
@@ -7592,10 +7565,7 @@ enifed("ember-metal/properties", ["exports", "ember-metal/core", "ember-metal/ut
|
|
7592
7565
|
} else {
|
7593
7566
|
obj[keyName] = data;
|
7594
7567
|
}
|
7595
|
-
|
7596
|
-
obj[keyName] = data;
|
7597
|
-
}
|
7598
|
-
} else {
|
7568
|
+
} else {
|
7599
7569
|
value = desc;
|
7600
7570
|
|
7601
7571
|
// compatibility with ES5
|
@@ -8016,16 +7986,13 @@ enifed("ember-metal/property_get", ["exports", "ember-metal/core", "ember-metal/
|
|
8016
7986
|
if (desc) {
|
8017
7987
|
return desc.get(obj, keyName);
|
8018
7988
|
} else {
|
8019
|
-
|
7989
|
+
|
8020
7990
|
if (_emberMetalPlatformDefine_property.hasPropertyAccessors && meta && meta.watching[keyName] > 0) {
|
8021
7991
|
ret = meta.values[keyName];
|
8022
7992
|
} else {
|
8023
7993
|
ret = obj[keyName];
|
8024
7994
|
}
|
8025
|
-
|
8026
|
-
ret = obj[keyName];
|
8027
|
-
}
|
8028
|
-
|
7995
|
+
|
8029
7996
|
if (ret === undefined && "object" === typeof obj && !(keyName in obj) && "function" === typeof obj.unknownProperty) {
|
8030
7997
|
return obj.unknownProperty(keyName);
|
8031
7998
|
}
|
@@ -8200,20 +8167,17 @@ enifed("ember-metal/property_set", ["exports", "ember-metal/core", "ember-metal/
|
|
8200
8167
|
obj.setUnknownProperty(keyName, value);
|
8201
8168
|
} else if (meta && meta.watching[keyName] > 0) {
|
8202
8169
|
if (meta.proto !== obj) {
|
8203
|
-
|
8170
|
+
|
8204
8171
|
if (_emberMetalPlatformDefine_property.hasPropertyAccessors) {
|
8205
8172
|
currentValue = meta.values[keyName];
|
8206
8173
|
} else {
|
8207
8174
|
currentValue = obj[keyName];
|
8208
8175
|
}
|
8209
|
-
|
8210
|
-
currentValue = obj[keyName];
|
8211
|
-
}
|
8212
|
-
}
|
8176
|
+
}
|
8213
8177
|
// only trigger a change if the value has changed
|
8214
8178
|
if (value !== currentValue) {
|
8215
8179
|
_emberMetalProperty_events.propertyWillChange(obj, keyName);
|
8216
|
-
|
8180
|
+
|
8217
8181
|
if (_emberMetalPlatformDefine_property.hasPropertyAccessors) {
|
8218
8182
|
if (currentValue === undefined && !(keyName in obj) || !Object.prototype.propertyIsEnumerable.call(obj, keyName)) {
|
8219
8183
|
_emberMetalProperties.defineProperty(obj, keyName, null, value); // setup mandatory setter
|
@@ -8223,10 +8187,7 @@ enifed("ember-metal/property_set", ["exports", "ember-metal/core", "ember-metal/
|
|
8223
8187
|
} else {
|
8224
8188
|
obj[keyName] = value;
|
8225
8189
|
}
|
8226
|
-
|
8227
|
-
obj[keyName] = value;
|
8228
|
-
}
|
8229
|
-
_emberMetalProperty_events.propertyDidChange(obj, keyName);
|
8190
|
+
_emberMetalProperty_events.propertyDidChange(obj, keyName);
|
8230
8191
|
}
|
8231
8192
|
} else {
|
8232
8193
|
obj[keyName] = value;
|
@@ -10303,11 +10264,11 @@ enifed("ember-metal/utils", ["exports", "ember-metal/core", "ember-metal/platfor
|
|
10303
10264
|
// Placeholder for non-writable metas.
|
10304
10265
|
var EMPTY_META = new Meta(null);
|
10305
10266
|
|
10306
|
-
|
10267
|
+
|
10307
10268
|
if (_emberMetalPlatformDefine_property.hasPropertyAccessors) {
|
10308
10269
|
EMPTY_META.values = {};
|
10309
10270
|
}
|
10310
|
-
|
10271
|
+
|
10311
10272
|
|
10312
10273
|
/**
|
10313
10274
|
Retrieves the meta hash for an object. If `writable` is true ensures the
|
@@ -10344,11 +10305,11 @@ enifed("ember-metal/utils", ["exports", "ember-metal/core", "ember-metal/platfor
|
|
10344
10305
|
|
10345
10306
|
ret = new Meta(obj);
|
10346
10307
|
|
10347
|
-
|
10308
|
+
|
10348
10309
|
if (_emberMetalPlatformDefine_property.hasPropertyAccessors) {
|
10349
10310
|
ret.values = {};
|
10350
10311
|
}
|
10351
|
-
|
10312
|
+
|
10352
10313
|
|
10353
10314
|
obj.__ember_meta__ = ret;
|
10354
10315
|
} else if (ret.source !== obj) {
|
@@ -10364,11 +10325,11 @@ enifed("ember-metal/utils", ["exports", "ember-metal/core", "ember-metal/platfor
|
|
10364
10325
|
ret.cacheMeta = undefined;
|
10365
10326
|
ret.source = obj;
|
10366
10327
|
|
10367
|
-
|
10328
|
+
|
10368
10329
|
if (_emberMetalPlatformDefine_property.hasPropertyAccessors) {
|
10369
10330
|
ret.values = _emberMetalPlatformCreate["default"](ret.values);
|
10370
10331
|
}
|
10371
|
-
|
10332
|
+
|
10372
10333
|
|
10373
10334
|
obj["__ember_meta__"] = ret;
|
10374
10335
|
}
|
@@ -10921,17 +10882,17 @@ enifed("ember-metal/watch_key", ["exports", "ember-metal/core", "ember-metal/uti
|
|
10921
10882
|
obj.willWatchProperty(keyName);
|
10922
10883
|
}
|
10923
10884
|
|
10924
|
-
|
10885
|
+
|
10925
10886
|
if (_emberMetalPlatformDefine_property.hasPropertyAccessors) {
|
10926
10887
|
handleMandatorySetter(m, obj, keyName);
|
10927
10888
|
}
|
10928
|
-
|
10889
|
+
|
10929
10890
|
} else {
|
10930
10891
|
watching[keyName] = (watching[keyName] || 0) + 1;
|
10931
10892
|
}
|
10932
10893
|
}
|
10933
10894
|
|
10934
|
-
|
10895
|
+
|
10935
10896
|
var handleMandatorySetter = function handleMandatorySetter(m, obj, keyName) {
|
10936
10897
|
var descriptor = Object.getOwnPropertyDescriptor && Object.getOwnPropertyDescriptor(obj, keyName);
|
10937
10898
|
var configurable = descriptor ? descriptor.configurable : true;
|
@@ -10955,7 +10916,7 @@ enifed("ember-metal/watch_key", ["exports", "ember-metal/core", "ember-metal/uti
|
|
10955
10916
|
});
|
10956
10917
|
}
|
10957
10918
|
};
|
10958
|
-
|
10919
|
+
|
10959
10920
|
|
10960
10921
|
// This is super annoying, but required until
|
10961
10922
|
// https://github.com/babel/babel/issues/906 is resolved
|
@@ -10978,7 +10939,7 @@ enifed("ember-metal/watch_key", ["exports", "ember-metal/core", "ember-metal/uti
|
|
10978
10939
|
obj.didUnwatchProperty(keyName);
|
10979
10940
|
}
|
10980
10941
|
|
10981
|
-
|
10942
|
+
|
10982
10943
|
if (!desc && _emberMetalPlatformDefine_property.hasPropertyAccessors && keyName in obj) {
|
10983
10944
|
_emberMetalPlatformDefine_property.defineProperty(obj, keyName, {
|
10984
10945
|
configurable: true,
|
@@ -10996,7 +10957,7 @@ enifed("ember-metal/watch_key", ["exports", "ember-metal/core", "ember-metal/uti
|
|
10996
10957
|
get: _emberMetalProperties.DEFAULT_GETTER_FUNCTION(keyName)
|
10997
10958
|
});
|
10998
10959
|
}
|
10999
|
-
|
10960
|
+
|
11000
10961
|
} else if (watching[keyName] > 1) {
|
11001
10962
|
watching[keyName]--;
|
11002
10963
|
}
|
@@ -12415,10 +12376,7 @@ enifed("ember-template-compiler/system/compile_options", ["exports", "ember-meta
|
|
12415
12376
|
|
12416
12377
|
exports["default"] = function (_options) {
|
12417
12378
|
var disableComponentGeneration = true;
|
12418
|
-
|
12419
|
-
disableComponentGeneration = false;
|
12420
|
-
}
|
12421
|
-
|
12379
|
+
|
12422
12380
|
var options = undefined;
|
12423
12381
|
// When calling `Ember.Handlebars.compile()` a second argument of `true`
|
12424
12382
|
// had a special meaning (long since lost), this just gaurds against
|
data/dist/ember-testing.js
CHANGED
@@ -391,10 +391,7 @@ enifed("ember-debug", ["exports", "ember-metal/core", "ember-metal/error", "embe
|
|
391
391
|
_emberMetalCore["default"].FEATURES["features-stripped-test"] = true;
|
392
392
|
var featuresWereStripped = true;
|
393
393
|
|
394
|
-
|
395
|
-
featuresWereStripped = false;
|
396
|
-
}
|
397
|
-
|
394
|
+
|
398
395
|
delete _emberMetalCore["default"].FEATURES["features-stripped-test"];
|
399
396
|
_warnIfUsingStrippedFeatureFlags(_emberMetalCore["default"].ENV.FEATURES, featuresWereStripped);
|
400
397
|
|
@@ -840,40 +837,7 @@ enifed("ember-testing/helpers", ["exports", "ember-metal/core", "ember-metal/pro
|
|
840
837
|
*/
|
841
838
|
asyncHelper("click", click);
|
842
839
|
|
843
|
-
if (_emberMetalCore["default"].FEATURES.isEnabled("ember-testing-checkbox-helpers")) {
|
844
|
-
/**
|
845
|
-
Checks a checkbox. Ensures the presence of the `checked` attribute
|
846
|
-
Example:
|
847
|
-
```javascript
|
848
|
-
check('#remember-me').then(function() {
|
849
|
-
// assert something
|
850
|
-
});
|
851
|
-
```
|
852
|
-
@method check
|
853
|
-
@param {String} selector jQuery selector finding an `input[type="checkbox"]`
|
854
|
-
element on the DOM to check
|
855
|
-
@return {RSVP.Promise}
|
856
|
-
@private
|
857
|
-
*/
|
858
|
-
asyncHelper("check", check);
|
859
|
-
|
860
840
|
/**
|
861
|
-
Unchecks a checkbox. Ensures the absence of the `checked` attribute
|
862
|
-
Example:
|
863
|
-
```javascript
|
864
|
-
uncheck('#remember-me').then(function() {
|
865
|
-
// assert something
|
866
|
-
});
|
867
|
-
```
|
868
|
-
@method check
|
869
|
-
@param {String} selector jQuery selector finding an `input[type="checkbox"]`
|
870
|
-
element on the DOM to uncheck
|
871
|
-
@return {RSVP.Promise}
|
872
|
-
@private
|
873
|
-
*/
|
874
|
-
asyncHelper("uncheck", uncheck);
|
875
|
-
}
|
876
|
-
/**
|
877
841
|
Simulates a key event, e.g. `keypress`, `keydown`, `keyup` with the desired keyCode
|
878
842
|
|
879
843
|
Example:
|
data/dist/ember.debug.js
CHANGED
@@ -1493,9 +1493,9 @@ enifed('container/registry', ['exports', 'ember-metal/core', 'ember-metal/dictio
|
|
1493
1493
|
var VALID_FULL_NAME_REGEXP = /^[^:]+.+:[^:]+$/;
|
1494
1494
|
|
1495
1495
|
var instanceInitializersFeatureEnabled;
|
1496
|
-
|
1496
|
+
|
1497
1497
|
instanceInitializersFeatureEnabled = true;
|
1498
|
-
|
1498
|
+
|
1499
1499
|
|
1500
1500
|
/**
|
1501
1501
|
A registry used to store factory and option information keyed
|
@@ -3996,21 +3996,11 @@ enifed('ember-application/system/application', ['exports', 'dag-map', 'container
|
|
3996
3996
|
// decremented by the Application's own `initialize` method.
|
3997
3997
|
this._readinessDeferrals = 1;
|
3998
3998
|
|
3999
|
-
|
4000
|
-
if (this.autoboot) {
|
4001
|
-
// Create subclass of Ember.Router for this Application instance.
|
4002
|
-
// This is to ensure that someone reopening `App.Router` does not
|
4003
|
-
// tamper with the default `Ember.Router`.
|
4004
|
-
// 2.0TODO: Can we move this into a globals-mode-only library?
|
4005
|
-
this.Router = (this.Router || _emberRoutingSystemRouter["default"]).extend();
|
4006
|
-
this.buildDefaultInstance();
|
4007
|
-
this.waitForDOMReady();
|
4008
|
-
}
|
4009
|
-
} else {
|
3999
|
+
|
4010
4000
|
this.Router = (this.Router || _emberRoutingSystemRouter["default"]).extend();
|
4011
4001
|
this.buildDefaultInstance();
|
4012
4002
|
this.waitForDOMReady();
|
4013
|
-
|
4003
|
+
|
4014
4004
|
},
|
4015
4005
|
|
4016
4006
|
/**
|
@@ -4339,13 +4329,9 @@ enifed('ember-application/system/application', ['exports', 'dag-map', 'container
|
|
4339
4329
|
this._runInitializer('initializers', function (name, initializer) {
|
4340
4330
|
_emberMetal["default"].assert('No application initializer named \'' + name + '\'', !!initializer);
|
4341
4331
|
|
4342
|
-
|
4332
|
+
|
4343
4333
|
initializer.initialize(registry, App);
|
4344
|
-
|
4345
|
-
var ref = initializer.initialize;
|
4346
|
-
ref(registry, App);
|
4347
|
-
}
|
4348
|
-
});
|
4334
|
+
});
|
4349
4335
|
},
|
4350
4336
|
|
4351
4337
|
runInstanceInitializers: function (instance) {
|
@@ -4447,7 +4433,7 @@ enifed('ember-application/system/application', ['exports', 'dag-map', 'container
|
|
4447
4433
|
}
|
4448
4434
|
});
|
4449
4435
|
|
4450
|
-
|
4436
|
+
|
4451
4437
|
Application.reopen({
|
4452
4438
|
instanceInitializer: function (options) {
|
4453
4439
|
this.constructor.instanceInitializer(options);
|
@@ -4457,43 +4443,9 @@ enifed('ember-application/system/application', ['exports', 'dag-map', 'container
|
|
4457
4443
|
Application.reopenClass({
|
4458
4444
|
instanceInitializer: buildInitializerMethod('instanceInitializers', 'instance initializer')
|
4459
4445
|
});
|
4460
|
-
|
4461
|
-
|
4462
|
-
if (_emberMetal["default"].FEATURES.isEnabled('ember-application-visit')) {
|
4463
|
-
Application.reopen({
|
4464
|
-
/**
|
4465
|
-
Creates a new instance of the application and instructs it to route to the
|
4466
|
-
specified initial URL. This method returns a promise that will be resolved
|
4467
|
-
once rendering is complete. That promise is resolved with the instance.
|
4468
|
-
```js
|
4469
|
-
App.visit('/users').then(function(instance) {
|
4470
|
-
var view = instance.view;
|
4471
|
-
view.appendTo('#qunit-test-fixtures');
|
4472
|
-
});
|
4473
|
-
```
|
4474
|
-
@method visit
|
4475
|
-
@private
|
4476
|
-
*/
|
4477
|
-
visit: function (url) {
|
4478
|
-
var instance = this.buildInstance();
|
4479
|
-
this.runInstanceInitializers(instance);
|
4480
|
-
|
4481
|
-
var renderPromise = new _emberMetal["default"].RSVP.Promise(function (res, rej) {
|
4482
|
-
instance.didCreateRootView = function (view) {
|
4483
|
-
instance.view = view;
|
4484
|
-
res(instance);
|
4485
|
-
};
|
4486
|
-
});
|
4487
|
-
|
4488
|
-
instance.overrideRouterLocation({ location: 'none' });
|
4489
|
-
|
4490
|
-
return instance.handleURL(url).then(function () {
|
4491
|
-
return renderPromise;
|
4492
|
-
});
|
4493
|
-
}
|
4494
|
-
});
|
4495
|
-
}
|
4446
|
+
|
4496
4447
|
|
4448
|
+
|
4497
4449
|
Application.reopenClass({
|
4498
4450
|
initializers: _emberMetalPlatformCreate["default"](null),
|
4499
4451
|
instanceInitializers: _emberMetalPlatformCreate["default"](null),
|
@@ -5567,10 +5519,7 @@ enifed("ember-debug", ["exports", "ember-metal/core", "ember-metal/error", "embe
|
|
5567
5519
|
_emberMetalCore["default"].FEATURES["features-stripped-test"] = true;
|
5568
5520
|
var featuresWereStripped = true;
|
5569
5521
|
|
5570
|
-
|
5571
|
-
featuresWereStripped = false;
|
5572
|
-
}
|
5573
|
-
|
5522
|
+
|
5574
5523
|
delete _emberMetalCore["default"].FEATURES["features-stripped-test"];
|
5575
5524
|
_warnIfUsingStrippedFeatureFlags(_emberMetalCore["default"].ENV.FEATURES, featuresWereStripped);
|
5576
5525
|
|
@@ -6280,10 +6229,10 @@ enifed("ember-htmlbars", ["exports", "ember-metal/core", "ember-template-compile
|
|
6280
6229
|
DOMHelper: _emberHtmlbarsSystemDomHelper["default"]
|
6281
6230
|
};
|
6282
6231
|
|
6283
|
-
|
6232
|
+
|
6284
6233
|
_emberHtmlbarsHelper["default"].helper = _emberHtmlbarsHelper.helper;
|
6285
6234
|
_emberMetalCore["default"].Helper = _emberHtmlbarsHelper["default"];
|
6286
|
-
|
6235
|
+
|
6287
6236
|
});
|
6288
6237
|
/**
|
6289
6238
|
|
@@ -10222,7 +10171,7 @@ enifed('ember-htmlbars/system/discover-known-helpers', ['exports', 'ember-metal/
|
|
10222
10171
|
var registry = container && container._registry;
|
10223
10172
|
var helpers = _emberMetalDictionary["default"](null);
|
10224
10173
|
|
10225
|
-
|
10174
|
+
|
10226
10175
|
if (!registry) {
|
10227
10176
|
return helpers;
|
10228
10177
|
}
|
@@ -10236,7 +10185,7 @@ enifed('ember-htmlbars/system/discover-known-helpers', ['exports', 'ember-metal/
|
|
10236
10185
|
|
10237
10186
|
helpers[_name] = true;
|
10238
10187
|
}
|
10239
|
-
|
10188
|
+
|
10240
10189
|
|
10241
10190
|
return helpers;
|
10242
10191
|
}
|
@@ -12043,23 +11992,7 @@ enifed("ember-metal", ["exports", "ember-metal/core", "ember-metal/merge", "embe
|
|
12043
11992
|
|
12044
11993
|
_emberMetalCore["default"].merge = _emberMetalMerge["default"];
|
12045
11994
|
|
12046
|
-
|
12047
|
-
_emberMetalCore["default"].stream = {
|
12048
|
-
Stream: _emberMetalStreamsStream["default"],
|
12049
|
-
|
12050
|
-
isStream: _emberMetalStreamsUtils.isStream,
|
12051
|
-
subscribe: _emberMetalStreamsUtils.subscribe,
|
12052
|
-
unsubscribe: _emberMetalStreamsUtils.unsubscribe,
|
12053
|
-
read: _emberMetalStreamsUtils.read,
|
12054
|
-
readHash: _emberMetalStreamsUtils.readHash,
|
12055
|
-
readArray: _emberMetalStreamsUtils.readArray,
|
12056
|
-
scanArray: _emberMetalStreamsUtils.scanArray,
|
12057
|
-
scanHash: _emberMetalStreamsUtils.scanHash,
|
12058
|
-
concat: _emberMetalStreamsUtils.concat,
|
12059
|
-
chain: _emberMetalStreamsUtils.chain
|
12060
|
-
};
|
12061
|
-
}
|
12062
|
-
|
11995
|
+
|
12063
11996
|
/**
|
12064
11997
|
A function may be assigned to `Ember.onerror` to be called when Ember
|
12065
11998
|
internals encounter an error. This is useful for specialized error handling
|
@@ -16572,12 +16505,7 @@ enifed("ember-metal/libraries", ["exports", "ember-metal/core", "ember-metal/enu
|
|
16572
16505
|
}
|
16573
16506
|
};
|
16574
16507
|
|
16575
|
-
|
16576
|
-
Libraries.prototype.isRegistered = function (name) {
|
16577
|
-
return !!this._getLibraryByName(name);
|
16578
|
-
};
|
16579
|
-
}
|
16580
|
-
|
16508
|
+
|
16581
16509
|
exports["default"] = Libraries;
|
16582
16510
|
});
|
16583
16511
|
enifed("ember-metal/logger", ["exports", "ember-metal/core", "ember-metal/error"], function (exports, _emberMetalCore, _emberMetalError) {
|
@@ -18953,7 +18881,7 @@ enifed("ember-metal/properties", ["exports", "ember-metal/core", "ember-metal/ut
|
|
18953
18881
|
if (desc instanceof Descriptor) {
|
18954
18882
|
value = desc;
|
18955
18883
|
|
18956
|
-
|
18884
|
+
|
18957
18885
|
if (watching && _emberMetalPlatformDefine_property.hasPropertyAccessors) {
|
18958
18886
|
_emberMetalPlatformDefine_property.defineProperty(obj, keyName, {
|
18959
18887
|
configurable: true,
|
@@ -18964,17 +18892,14 @@ enifed("ember-metal/properties", ["exports", "ember-metal/core", "ember-metal/ut
|
|
18964
18892
|
} else {
|
18965
18893
|
obj[keyName] = value;
|
18966
18894
|
}
|
18967
|
-
|
18968
|
-
obj[keyName] = value;
|
18969
|
-
}
|
18970
|
-
if (desc.setup) {
|
18895
|
+
if (desc.setup) {
|
18971
18896
|
desc.setup(obj, keyName);
|
18972
18897
|
}
|
18973
18898
|
} else {
|
18974
18899
|
if (desc == null) {
|
18975
18900
|
value = data;
|
18976
18901
|
|
18977
|
-
|
18902
|
+
|
18978
18903
|
if (watching && _emberMetalPlatformDefine_property.hasPropertyAccessors) {
|
18979
18904
|
meta.values[keyName] = data;
|
18980
18905
|
_emberMetalPlatformDefine_property.defineProperty(obj, keyName, {
|
@@ -18986,10 +18911,7 @@ enifed("ember-metal/properties", ["exports", "ember-metal/core", "ember-metal/ut
|
|
18986
18911
|
} else {
|
18987
18912
|
obj[keyName] = data;
|
18988
18913
|
}
|
18989
|
-
|
18990
|
-
obj[keyName] = data;
|
18991
|
-
}
|
18992
|
-
} else {
|
18914
|
+
} else {
|
18993
18915
|
value = desc;
|
18994
18916
|
|
18995
18917
|
// compatibility with ES5
|
@@ -19410,16 +19332,13 @@ enifed("ember-metal/property_get", ["exports", "ember-metal/core", "ember-metal/
|
|
19410
19332
|
if (desc) {
|
19411
19333
|
return desc.get(obj, keyName);
|
19412
19334
|
} else {
|
19413
|
-
|
19335
|
+
|
19414
19336
|
if (_emberMetalPlatformDefine_property.hasPropertyAccessors && meta && meta.watching[keyName] > 0) {
|
19415
19337
|
ret = meta.values[keyName];
|
19416
19338
|
} else {
|
19417
19339
|
ret = obj[keyName];
|
19418
19340
|
}
|
19419
|
-
|
19420
|
-
ret = obj[keyName];
|
19421
|
-
}
|
19422
|
-
|
19341
|
+
|
19423
19342
|
if (ret === undefined && "object" === typeof obj && !(keyName in obj) && "function" === typeof obj.unknownProperty) {
|
19424
19343
|
return obj.unknownProperty(keyName);
|
19425
19344
|
}
|
@@ -19594,20 +19513,17 @@ enifed("ember-metal/property_set", ["exports", "ember-metal/core", "ember-metal/
|
|
19594
19513
|
obj.setUnknownProperty(keyName, value);
|
19595
19514
|
} else if (meta && meta.watching[keyName] > 0) {
|
19596
19515
|
if (meta.proto !== obj) {
|
19597
|
-
|
19516
|
+
|
19598
19517
|
if (_emberMetalPlatformDefine_property.hasPropertyAccessors) {
|
19599
19518
|
currentValue = meta.values[keyName];
|
19600
19519
|
} else {
|
19601
19520
|
currentValue = obj[keyName];
|
19602
19521
|
}
|
19603
|
-
|
19604
|
-
currentValue = obj[keyName];
|
19605
|
-
}
|
19606
|
-
}
|
19522
|
+
}
|
19607
19523
|
// only trigger a change if the value has changed
|
19608
19524
|
if (value !== currentValue) {
|
19609
19525
|
_emberMetalProperty_events.propertyWillChange(obj, keyName);
|
19610
|
-
|
19526
|
+
|
19611
19527
|
if (_emberMetalPlatformDefine_property.hasPropertyAccessors) {
|
19612
19528
|
if (currentValue === undefined && !(keyName in obj) || !Object.prototype.propertyIsEnumerable.call(obj, keyName)) {
|
19613
19529
|
_emberMetalProperties.defineProperty(obj, keyName, null, value); // setup mandatory setter
|
@@ -19617,10 +19533,7 @@ enifed("ember-metal/property_set", ["exports", "ember-metal/core", "ember-metal/
|
|
19617
19533
|
} else {
|
19618
19534
|
obj[keyName] = value;
|
19619
19535
|
}
|
19620
|
-
|
19621
|
-
obj[keyName] = value;
|
19622
|
-
}
|
19623
|
-
_emberMetalProperty_events.propertyDidChange(obj, keyName);
|
19536
|
+
_emberMetalProperty_events.propertyDidChange(obj, keyName);
|
19624
19537
|
}
|
19625
19538
|
} else {
|
19626
19539
|
obj[keyName] = value;
|
@@ -21697,11 +21610,11 @@ enifed("ember-metal/utils", ["exports", "ember-metal/core", "ember-metal/platfor
|
|
21697
21610
|
// Placeholder for non-writable metas.
|
21698
21611
|
var EMPTY_META = new Meta(null);
|
21699
21612
|
|
21700
|
-
|
21613
|
+
|
21701
21614
|
if (_emberMetalPlatformDefine_property.hasPropertyAccessors) {
|
21702
21615
|
EMPTY_META.values = {};
|
21703
21616
|
}
|
21704
|
-
|
21617
|
+
|
21705
21618
|
|
21706
21619
|
/**
|
21707
21620
|
Retrieves the meta hash for an object. If `writable` is true ensures the
|
@@ -21738,11 +21651,11 @@ enifed("ember-metal/utils", ["exports", "ember-metal/core", "ember-metal/platfor
|
|
21738
21651
|
|
21739
21652
|
ret = new Meta(obj);
|
21740
21653
|
|
21741
|
-
|
21654
|
+
|
21742
21655
|
if (_emberMetalPlatformDefine_property.hasPropertyAccessors) {
|
21743
21656
|
ret.values = {};
|
21744
21657
|
}
|
21745
|
-
|
21658
|
+
|
21746
21659
|
|
21747
21660
|
obj.__ember_meta__ = ret;
|
21748
21661
|
} else if (ret.source !== obj) {
|
@@ -21758,11 +21671,11 @@ enifed("ember-metal/utils", ["exports", "ember-metal/core", "ember-metal/platfor
|
|
21758
21671
|
ret.cacheMeta = undefined;
|
21759
21672
|
ret.source = obj;
|
21760
21673
|
|
21761
|
-
|
21674
|
+
|
21762
21675
|
if (_emberMetalPlatformDefine_property.hasPropertyAccessors) {
|
21763
21676
|
ret.values = _emberMetalPlatformCreate["default"](ret.values);
|
21764
21677
|
}
|
21765
|
-
|
21678
|
+
|
21766
21679
|
|
21767
21680
|
obj["__ember_meta__"] = ret;
|
21768
21681
|
}
|
@@ -22315,17 +22228,17 @@ enifed("ember-metal/watch_key", ["exports", "ember-metal/core", "ember-metal/uti
|
|
22315
22228
|
obj.willWatchProperty(keyName);
|
22316
22229
|
}
|
22317
22230
|
|
22318
|
-
|
22231
|
+
|
22319
22232
|
if (_emberMetalPlatformDefine_property.hasPropertyAccessors) {
|
22320
22233
|
handleMandatorySetter(m, obj, keyName);
|
22321
22234
|
}
|
22322
|
-
|
22235
|
+
|
22323
22236
|
} else {
|
22324
22237
|
watching[keyName] = (watching[keyName] || 0) + 1;
|
22325
22238
|
}
|
22326
22239
|
}
|
22327
22240
|
|
22328
|
-
|
22241
|
+
|
22329
22242
|
var handleMandatorySetter = function handleMandatorySetter(m, obj, keyName) {
|
22330
22243
|
var descriptor = Object.getOwnPropertyDescriptor && Object.getOwnPropertyDescriptor(obj, keyName);
|
22331
22244
|
var configurable = descriptor ? descriptor.configurable : true;
|
@@ -22349,7 +22262,7 @@ enifed("ember-metal/watch_key", ["exports", "ember-metal/core", "ember-metal/uti
|
|
22349
22262
|
});
|
22350
22263
|
}
|
22351
22264
|
};
|
22352
|
-
|
22265
|
+
|
22353
22266
|
|
22354
22267
|
// This is super annoying, but required until
|
22355
22268
|
// https://github.com/babel/babel/issues/906 is resolved
|
@@ -22372,7 +22285,7 @@ enifed("ember-metal/watch_key", ["exports", "ember-metal/core", "ember-metal/uti
|
|
22372
22285
|
obj.didUnwatchProperty(keyName);
|
22373
22286
|
}
|
22374
22287
|
|
22375
|
-
|
22288
|
+
|
22376
22289
|
if (!desc && _emberMetalPlatformDefine_property.hasPropertyAccessors && keyName in obj) {
|
22377
22290
|
_emberMetalPlatformDefine_property.defineProperty(obj, keyName, {
|
22378
22291
|
configurable: true,
|
@@ -22390,7 +22303,7 @@ enifed("ember-metal/watch_key", ["exports", "ember-metal/core", "ember-metal/uti
|
|
22390
22303
|
get: _emberMetalProperties.DEFAULT_GETTER_FUNCTION(keyName)
|
22391
22304
|
});
|
22392
22305
|
}
|
22393
|
-
|
22306
|
+
|
22394
22307
|
} else if (watching[keyName] > 1) {
|
22395
22308
|
watching[keyName]--;
|
22396
22309
|
}
|
@@ -22961,12 +22874,9 @@ enifed("ember-routing-htmlbars/keywords/element-action", ["exports", "ember-meta
|
|
22961
22874
|
|
22962
22875
|
var actionName = read(params[0]);
|
22963
22876
|
|
22964
|
-
|
22877
|
+
|
22965
22878
|
assert("You specified a quoteless path to the {{action}} helper " + "which did not resolve to an action name (a string). " + "Perhaps you meant to use a quoted actionName? (e.g. {{action 'save'}}).", typeof actionName === "string" || typeof actionName === "function");
|
22966
|
-
|
22967
|
-
assert("You specified a quoteless path to the {{action}} helper " + "which did not resolve to an action name (a string). " + "Perhaps you meant to use a quoted actionName? (e.g. {{action 'save'}}).", typeof actionName === "string");
|
22968
|
-
}
|
22969
|
-
|
22879
|
+
|
22970
22880
|
var actionArgs = [];
|
22971
22881
|
for (var i = 1, l = params.length; i < l; i++) {
|
22972
22882
|
actionArgs.push(_emberViewsStreamsUtils.readUnwrappedModel(params[i]));
|
@@ -23052,12 +22962,12 @@ enifed("ember-routing-htmlbars/keywords/element-action", ["exports", "ember-meta
|
|
23052
22962
|
var actionArgs = _node$state.actionArgs;
|
23053
22963
|
|
23054
22964
|
_emberMetalRun_loop["default"](function runRegisteredAction() {
|
23055
|
-
|
22965
|
+
|
23056
22966
|
if (typeof actionName === "function") {
|
23057
22967
|
actionName.apply(target, actionArgs);
|
23058
22968
|
return;
|
23059
22969
|
}
|
23060
|
-
|
22970
|
+
|
23061
22971
|
if (target.send) {
|
23062
22972
|
target.send.apply(target, [actionName].concat(actionArgs));
|
23063
22973
|
} else {
|
@@ -23641,10 +23551,7 @@ enifed("ember-routing-views", ["exports", "ember-metal/core", "ember-routing-vie
|
|
23641
23551
|
_emberMetalCore["default"].LinkView = _emberRoutingViewsViewsLink.DeprecatedLinkView;
|
23642
23552
|
_emberMetalCore["default"].LinkComponent = _emberRoutingViewsViewsLink["default"];
|
23643
23553
|
_emberMetalCore["default"].OutletView = _emberRoutingViewsViewsOutlet.OutletView;
|
23644
|
-
|
23645
|
-
_emberMetalCore["default"].CoreOutletView = _emberRoutingViewsViewsOutlet.CoreOutletView;
|
23646
|
-
}
|
23647
|
-
|
23554
|
+
|
23648
23555
|
exports["default"] = _emberMetalCore["default"];
|
23649
23556
|
});
|
23650
23557
|
/**
|
@@ -23655,9 +23562,9 @@ enifed("ember-routing-views/views/link", ["exports", "ember-metal/core", "ember-
|
|
23655
23562
|
_emberHtmlbarsTemplatesLinkTo["default"].meta.revision = "Ember@1.13.4";
|
23656
23563
|
|
23657
23564
|
var linkComponentClassNameBindings = ["active", "loading", "disabled"];
|
23658
|
-
|
23565
|
+
|
23659
23566
|
linkComponentClassNameBindings = ["active", "loading", "disabled", "transitioningIn", "transitioningOut"];
|
23660
|
-
|
23567
|
+
|
23661
23568
|
|
23662
23569
|
/**
|
23663
23570
|
`Ember.LinkComponent` renders an element whose `click` event triggers a
|
@@ -25860,12 +25767,12 @@ enifed("ember-routing/system/dsl", ["exports", "ember-metal/core", "ember-metal/
|
|
25860
25767
|
return _emberMetalArray.indexOf.call(["array", "basic", "object", "application"], name) === -1;
|
25861
25768
|
})());
|
25862
25769
|
|
25863
|
-
|
25770
|
+
|
25864
25771
|
if (this.enableLoadingSubstates) {
|
25865
25772
|
createRoute(this, name + "_loading", { resetNamespace: options.resetNamespace });
|
25866
25773
|
createRoute(this, name + "_error", { path: dummyErrorRoute });
|
25867
25774
|
}
|
25868
|
-
|
25775
|
+
|
25869
25776
|
|
25870
25777
|
if (callback) {
|
25871
25778
|
var fullName = getFullName(this, name, options.resetNamespace);
|
@@ -28404,11 +28311,11 @@ enifed("ember-routing/system/router", ["exports", "ember-metal/core", "ember-met
|
|
28404
28311
|
emberRouter.didTransition(infos);
|
28405
28312
|
};
|
28406
28313
|
|
28407
|
-
|
28314
|
+
|
28408
28315
|
router.willTransition = function (oldInfos, newInfos, transition) {
|
28409
28316
|
emberRouter.willTransition(oldInfos, newInfos, transition);
|
28410
28317
|
};
|
28411
|
-
|
28318
|
+
|
28412
28319
|
},
|
28413
28320
|
|
28414
28321
|
_serializeQueryParams: function (targetRouteName, queryParams) {
|
@@ -28719,13 +28626,13 @@ enifed("ember-routing/system/router", ["exports", "ember-metal/core", "ember-met
|
|
28719
28626
|
var targetChildRouteName = originatingChildRoute.routeName.split(".").pop();
|
28720
28627
|
var namespace = parentRoute.routeName === "application" ? "" : parentRoute.routeName + ".";
|
28721
28628
|
|
28722
|
-
|
28629
|
+
|
28723
28630
|
// First, try a named loading state, e.g. 'foo_loading'
|
28724
28631
|
childName = namespace + targetChildRouteName + "_" + name;
|
28725
28632
|
if (routeHasBeenDefined(router, childName)) {
|
28726
28633
|
return childName;
|
28727
28634
|
}
|
28728
|
-
|
28635
|
+
|
28729
28636
|
|
28730
28637
|
// Second, try general loading state, e.g. 'loading'
|
28731
28638
|
childName = namespace + name;
|
@@ -36624,16 +36531,13 @@ enifed("ember-runtime/system/core_object", ["exports", "ember-metal", "ember-met
|
|
36624
36531
|
if (typeof this.setUnknownProperty === "function" && !(keyName in this)) {
|
36625
36532
|
this.setUnknownProperty(keyName, value);
|
36626
36533
|
} else {
|
36627
|
-
|
36534
|
+
|
36628
36535
|
if (_emberMetalPlatformDefine_property.hasPropertyAccessors) {
|
36629
36536
|
_emberMetalProperties.defineProperty(this, keyName, null, value); // setup mandatory setter
|
36630
36537
|
} else {
|
36631
36538
|
this[keyName] = value;
|
36632
36539
|
}
|
36633
|
-
|
36634
|
-
this[keyName] = value;
|
36635
|
-
}
|
36636
|
-
}
|
36540
|
+
}
|
36637
36541
|
}
|
36638
36542
|
}
|
36639
36543
|
}
|
@@ -40889,10 +40793,7 @@ enifed("ember-template-compiler/system/compile_options", ["exports", "ember-meta
|
|
40889
40793
|
|
40890
40794
|
exports["default"] = function (_options) {
|
40891
40795
|
var disableComponentGeneration = true;
|
40892
|
-
|
40893
|
-
disableComponentGeneration = false;
|
40894
|
-
}
|
40895
|
-
|
40796
|
+
|
40896
40797
|
var options = undefined;
|
40897
40798
|
// When calling `Ember.Handlebars.compile()` a second argument of `true`
|
40898
40799
|
// had a special meaning (long since lost), this just gaurds against
|
@@ -41380,40 +41281,7 @@ enifed("ember-testing/helpers", ["exports", "ember-metal/core", "ember-metal/pro
|
|
41380
41281
|
*/
|
41381
41282
|
asyncHelper("click", click);
|
41382
41283
|
|
41383
|
-
if (_emberMetalCore["default"].FEATURES.isEnabled("ember-testing-checkbox-helpers")) {
|
41384
41284
|
/**
|
41385
|
-
Checks a checkbox. Ensures the presence of the `checked` attribute
|
41386
|
-
Example:
|
41387
|
-
```javascript
|
41388
|
-
check('#remember-me').then(function() {
|
41389
|
-
// assert something
|
41390
|
-
});
|
41391
|
-
```
|
41392
|
-
@method check
|
41393
|
-
@param {String} selector jQuery selector finding an `input[type="checkbox"]`
|
41394
|
-
element on the DOM to check
|
41395
|
-
@return {RSVP.Promise}
|
41396
|
-
@private
|
41397
|
-
*/
|
41398
|
-
asyncHelper("check", check);
|
41399
|
-
|
41400
|
-
/**
|
41401
|
-
Unchecks a checkbox. Ensures the absence of the `checked` attribute
|
41402
|
-
Example:
|
41403
|
-
```javascript
|
41404
|
-
uncheck('#remember-me').then(function() {
|
41405
|
-
// assert something
|
41406
|
-
});
|
41407
|
-
```
|
41408
|
-
@method check
|
41409
|
-
@param {String} selector jQuery selector finding an `input[type="checkbox"]`
|
41410
|
-
element on the DOM to uncheck
|
41411
|
-
@return {RSVP.Promise}
|
41412
|
-
@private
|
41413
|
-
*/
|
41414
|
-
asyncHelper("uncheck", uncheck);
|
41415
|
-
}
|
41416
|
-
/**
|
41417
41285
|
Simulates a key event, e.g. `keypress`, `keydown`, `keyup` with the desired keyCode
|
41418
41286
|
|
41419
41287
|
Example:
|