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
data/dist/ember.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:
|