ember-source 2.18.0.beta.3 → 2.18.0.beta.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/dist/ember-runtime.js +86 -52
- data/dist/ember-template-compiler.js +87 -53
- data/dist/ember-testing.js +1 -1
- data/dist/ember-tests.js +1 -1
- data/dist/ember-tests.prod.js +1 -1
- data/dist/ember.debug.js +89 -55
- data/dist/ember.min.js +3 -3
- data/dist/ember.prod.js +89 -55
- data/package.json +1 -1
- metadata +2 -2
data/dist/ember-testing.js
CHANGED
data/dist/ember-tests.js
CHANGED
data/dist/ember-tests.prod.js
CHANGED
data/dist/ember.debug.js
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
* Portions Copyright 2008-2011 Apple Inc. All rights reserved.
|
7
7
|
* @license Licensed under MIT license
|
8
8
|
* See https://raw.github.com/emberjs/ember.js/master/LICENSE
|
9
|
-
* @version 2.18.0-beta.
|
9
|
+
* @version 2.18.0-beta.4
|
10
10
|
*/
|
11
11
|
|
12
12
|
/*global process */
|
@@ -21691,7 +21691,7 @@ enifed('ember-glimmer/utils/string', ['exports', 'ember-babel', 'ember-debug'],
|
|
21691
21691
|
```
|
21692
21692
|
|
21693
21693
|
@method htmlSafe
|
21694
|
-
@for @ember/
|
21694
|
+
@for @ember/template
|
21695
21695
|
@static
|
21696
21696
|
@return {Handlebars.SafeString} A string that will not be HTML escaped by Handlebars.
|
21697
21697
|
@public
|
@@ -21718,7 +21718,7 @@ enifed('ember-glimmer/utils/string', ['exports', 'ember-babel', 'ember-debug'],
|
|
21718
21718
|
```
|
21719
21719
|
|
21720
21720
|
@method isHTMLSafe
|
21721
|
-
@for @ember/
|
21721
|
+
@for @ember/template
|
21722
21722
|
@static
|
21723
21723
|
@return {Boolean} `true` if the string was decorated with `htmlSafe`, `false` otherwise.
|
21724
21724
|
@public
|
@@ -23613,7 +23613,7 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
|
|
23613
23613
|
|
23614
23614
|
if (counter === 1) {
|
23615
23615
|
m.writeWatching(keyPath, 0);
|
23616
|
-
m.
|
23616
|
+
m.writableChains(makeChainNode).remove(keyPath);
|
23617
23617
|
} else if (counter > 1) {
|
23618
23618
|
m.writeWatching(keyPath, counter - 1);
|
23619
23619
|
}
|
@@ -23846,11 +23846,8 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
|
|
23846
23846
|
if (paths === undefined) {
|
23847
23847
|
return;
|
23848
23848
|
}
|
23849
|
-
|
23850
23849
|
if (paths[path] > 0) {
|
23851
23850
|
paths[path]--;
|
23852
|
-
} else {
|
23853
|
-
return;
|
23854
23851
|
}
|
23855
23852
|
|
23856
23853
|
var key = firstKey(path);
|
@@ -26305,14 +26302,15 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
|
|
26305
26302
|
call.
|
26306
26303
|
|
26307
26304
|
```javascript
|
26305
|
+
import { run } from '@ember/runloop';
|
26306
|
+
|
26308
26307
|
run(function() {
|
26309
26308
|
// code to be executed within a RunLoop
|
26310
26309
|
});
|
26311
26310
|
```
|
26312
|
-
|
26313
|
-
@
|
26311
|
+
@method run
|
26312
|
+
@for @ember/runloop
|
26314
26313
|
@static
|
26315
|
-
@constructor
|
26316
26314
|
@param {Object} [target] target of method to call
|
26317
26315
|
@param {Function|String} method Method to invoke.
|
26318
26316
|
May be a function or a string. If you pass a string
|
@@ -26335,7 +26333,9 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
|
|
26335
26333
|
If invoked when not within a run loop:
|
26336
26334
|
|
26337
26335
|
```javascript
|
26338
|
-
|
26336
|
+
import { join } from '@ember/runloop';
|
26337
|
+
|
26338
|
+
join(function() {
|
26339
26339
|
// creates a new run-loop
|
26340
26340
|
});
|
26341
26341
|
```
|
@@ -26343,9 +26343,12 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
|
|
26343
26343
|
Alternatively, if called within an existing run loop:
|
26344
26344
|
|
26345
26345
|
```javascript
|
26346
|
+
import { run, join } from '@ember/runloop';
|
26347
|
+
|
26346
26348
|
run(function() {
|
26347
26349
|
// creates a new run-loop
|
26348
|
-
|
26350
|
+
|
26351
|
+
join(function() {
|
26349
26352
|
// joins with the existing run-loop, and queues for invocation on
|
26350
26353
|
// the existing run-loops action queue.
|
26351
26354
|
});
|
@@ -26374,7 +26377,7 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
|
|
26374
26377
|
makes this method a great way to asynchronously integrate third-party libraries
|
26375
26378
|
into your Ember application.
|
26376
26379
|
|
26377
|
-
`
|
26380
|
+
`bind` takes two main arguments, the desired context and the function to
|
26378
26381
|
invoke in that context. Any additional arguments will be supplied as arguments
|
26379
26382
|
to the function that is passed in.
|
26380
26383
|
|
@@ -26386,10 +26389,11 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
|
|
26386
26389
|
|
26387
26390
|
```app/components/rich-text-editor.js
|
26388
26391
|
import Component from '@ember/component';
|
26392
|
+
import { on } from '@ember/object/evented';
|
26389
26393
|
import { bind } from '@ember/runloop';
|
26390
26394
|
|
26391
26395
|
export default Component.extend({
|
26392
|
-
initializeTinyMCE:
|
26396
|
+
initializeTinyMCE: on('didInsertElement', function() {
|
26393
26397
|
tinymce.init({
|
26394
26398
|
selector: '#' + this.$().prop('id'),
|
26395
26399
|
setup: Ember.run.bind(this, this.setupEditor)
|
@@ -26453,9 +26457,11 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
|
|
26453
26457
|
a lower-level way to use a RunLoop instead of using `run()`.
|
26454
26458
|
|
26455
26459
|
```javascript
|
26456
|
-
|
26460
|
+
import { begin, end } from '@ember/runloop';
|
26461
|
+
|
26462
|
+
begin();
|
26457
26463
|
// code to be executed within a RunLoop
|
26458
|
-
|
26464
|
+
end();
|
26459
26465
|
```
|
26460
26466
|
|
26461
26467
|
@method begin
|
@@ -26474,9 +26480,11 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
|
|
26474
26480
|
to use a RunLoop instead of using `run()`.
|
26475
26481
|
|
26476
26482
|
```javascript
|
26477
|
-
|
26483
|
+
import { begin, end } from '@ember/runloop';
|
26484
|
+
|
26485
|
+
begin();
|
26478
26486
|
// code to be executed within a RunLoop
|
26479
|
-
|
26487
|
+
end();
|
26480
26488
|
```
|
26481
26489
|
|
26482
26490
|
@method end
|
@@ -26512,12 +26520,14 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
|
|
26512
26520
|
the `run.queues` property.
|
26513
26521
|
|
26514
26522
|
```javascript
|
26515
|
-
|
26523
|
+
import { schedule } from '@ember/runloop';
|
26524
|
+
|
26525
|
+
schedule('sync', this, function() {
|
26516
26526
|
// this will be executed in the first RunLoop queue, when bindings are synced
|
26517
26527
|
console.log('scheduled on sync queue');
|
26518
26528
|
});
|
26519
26529
|
|
26520
|
-
|
26530
|
+
schedule('actions', this, function() {
|
26521
26531
|
// this will be executed in the 'actions' queue, after bindings have synced.
|
26522
26532
|
console.log('scheduled on actions queue');
|
26523
26533
|
});
|
@@ -26593,7 +26603,9 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
|
|
26593
26603
|
together, which is often more efficient than using a real setTimeout.
|
26594
26604
|
|
26595
26605
|
```javascript
|
26596
|
-
|
26606
|
+
import { later } from '@ember/runloop';
|
26607
|
+
|
26608
|
+
later(myContext, function() {
|
26597
26609
|
// code here will execute within a RunLoop in about 500ms with this == myContext
|
26598
26610
|
}, 500);
|
26599
26611
|
```
|
@@ -26650,13 +26662,15 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
|
|
26650
26662
|
calls.
|
26651
26663
|
|
26652
26664
|
```javascript
|
26665
|
+
import { run, scheduleOnce } from '@ember/runloop';
|
26666
|
+
|
26653
26667
|
function sayHi() {
|
26654
26668
|
console.log('hi');
|
26655
26669
|
}
|
26656
26670
|
|
26657
26671
|
run(function() {
|
26658
|
-
|
26659
|
-
|
26672
|
+
scheduleOnce('afterRender', myContext, sayHi);
|
26673
|
+
scheduleOnce('afterRender', myContext, sayHi);
|
26660
26674
|
// sayHi will only be executed once, in the afterRender queue of the RunLoop
|
26661
26675
|
});
|
26662
26676
|
```
|
@@ -26670,7 +26684,7 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
|
|
26670
26684
|
}
|
26671
26685
|
|
26672
26686
|
function scheduleIt() {
|
26673
|
-
|
26687
|
+
scheduleOnce('actions', myContext, log);
|
26674
26688
|
}
|
26675
26689
|
|
26676
26690
|
scheduleIt();
|
@@ -26680,8 +26694,10 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
|
|
26680
26694
|
But this other case will schedule the function multiple times:
|
26681
26695
|
|
26682
26696
|
```javascript
|
26697
|
+
import { scheduleOnce } from '@ember/runloop';
|
26698
|
+
|
26683
26699
|
function scheduleIt() {
|
26684
|
-
|
26700
|
+
scheduleOnce('actions', myContext, function() {
|
26685
26701
|
console.log('Closure');
|
26686
26702
|
});
|
26687
26703
|
}
|
@@ -26720,7 +26736,9 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
|
|
26720
26736
|
`run.later` with a wait time of 1ms.
|
26721
26737
|
|
26722
26738
|
```javascript
|
26723
|
-
|
26739
|
+
import { next } from '@ember/runloop';
|
26740
|
+
|
26741
|
+
next(myContext, function() {
|
26724
26742
|
// code to be executed in the next run loop,
|
26725
26743
|
// which will be scheduled after the current one
|
26726
26744
|
});
|
@@ -26742,11 +26760,12 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
|
|
26742
26760
|
|
26743
26761
|
```app/components/my-component.js
|
26744
26762
|
import Component from '@ember/component';
|
26763
|
+
import { scheduleOnce } from '@ember/runloop';
|
26745
26764
|
|
26746
26765
|
export Component.extend({
|
26747
26766
|
didInsertElement() {
|
26748
26767
|
this._super(...arguments);
|
26749
|
-
|
26768
|
+
scheduleOnce('afterRender', this, 'processChildElements');
|
26750
26769
|
},
|
26751
26770
|
|
26752
26771
|
processChildElements() {
|
@@ -26791,53 +26810,63 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
|
|
26791
26810
|
};
|
26792
26811
|
|
26793
26812
|
/**
|
26794
|
-
Cancels a scheduled item. Must be a value returned by `
|
26795
|
-
`
|
26796
|
-
`
|
26813
|
+
Cancels a scheduled item. Must be a value returned by `later()`,
|
26814
|
+
`once()`, `scheduleOnce()`, `next()`, `debounce()`, or
|
26815
|
+
`throttle()`.
|
26797
26816
|
|
26798
26817
|
```javascript
|
26799
|
-
|
26818
|
+
import {
|
26819
|
+
next,
|
26820
|
+
cancel,
|
26821
|
+
later,
|
26822
|
+
scheduleOnce,
|
26823
|
+
once,
|
26824
|
+
throttle,
|
26825
|
+
debounce
|
26826
|
+
} from '@ember/runloop';
|
26827
|
+
|
26828
|
+
let runNext = next(myContext, function() {
|
26800
26829
|
// will not be executed
|
26801
26830
|
});
|
26802
26831
|
|
26803
|
-
|
26832
|
+
cancel(runNext);
|
26804
26833
|
|
26805
|
-
let runLater =
|
26834
|
+
let runLater = later(myContext, function() {
|
26806
26835
|
// will not be executed
|
26807
26836
|
}, 500);
|
26808
26837
|
|
26809
|
-
|
26838
|
+
cancel(runLater);
|
26810
26839
|
|
26811
|
-
let runScheduleOnce =
|
26840
|
+
let runScheduleOnce = scheduleOnce('afterRender', myContext, function() {
|
26812
26841
|
// will not be executed
|
26813
26842
|
});
|
26814
26843
|
|
26815
|
-
|
26844
|
+
cancel(runScheduleOnce);
|
26816
26845
|
|
26817
|
-
let runOnce =
|
26846
|
+
let runOnce = once(myContext, function() {
|
26818
26847
|
// will not be executed
|
26819
26848
|
});
|
26820
26849
|
|
26821
|
-
|
26850
|
+
cancel(runOnce);
|
26822
26851
|
|
26823
|
-
let throttle =
|
26852
|
+
let throttle = throttle(myContext, function() {
|
26824
26853
|
// will not be executed
|
26825
26854
|
}, 1, false);
|
26826
26855
|
|
26827
|
-
|
26856
|
+
cancel(throttle);
|
26828
26857
|
|
26829
|
-
let debounce =
|
26858
|
+
let debounce = debounce(myContext, function() {
|
26830
26859
|
// will not be executed
|
26831
26860
|
}, 1);
|
26832
26861
|
|
26833
|
-
|
26862
|
+
cancel(debounce);
|
26834
26863
|
|
26835
|
-
let debounceImmediate =
|
26864
|
+
let debounceImmediate = debounce(myContext, function() {
|
26836
26865
|
// will be executed since we passed in true (immediate)
|
26837
26866
|
}, 100, true);
|
26838
26867
|
|
26839
26868
|
// the 100ms delay until this method can be called again will be canceled
|
26840
|
-
|
26869
|
+
cancel(debounceImmediate);
|
26841
26870
|
```
|
26842
26871
|
|
26843
26872
|
@method cancel
|
@@ -26863,16 +26892,18 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
|
|
26863
26892
|
happen once scrolling has ceased.
|
26864
26893
|
|
26865
26894
|
```javascript
|
26895
|
+
import { debounce } from '@ember/runloop';
|
26896
|
+
|
26866
26897
|
function whoRan() {
|
26867
26898
|
console.log(this.name + ' ran.');
|
26868
26899
|
}
|
26869
26900
|
|
26870
26901
|
let myContext = { name: 'debounce' };
|
26871
26902
|
|
26872
|
-
|
26903
|
+
debounce(myContext, whoRan, 150);
|
26873
26904
|
|
26874
26905
|
// less than 150ms passes
|
26875
|
-
|
26906
|
+
debounce(myContext, whoRan, 150);
|
26876
26907
|
|
26877
26908
|
// 150ms passes
|
26878
26909
|
// whoRan is invoked with context myContext
|
@@ -26886,26 +26917,27 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
|
|
26886
26917
|
the method can be called again.
|
26887
26918
|
|
26888
26919
|
```javascript
|
26920
|
+
import { debounce } from '@ember/runloop';
|
26921
|
+
|
26889
26922
|
function whoRan() {
|
26890
26923
|
console.log(this.name + ' ran.');
|
26891
26924
|
}
|
26892
26925
|
|
26893
26926
|
let myContext = { name: 'debounce' };
|
26894
26927
|
|
26895
|
-
|
26928
|
+
debounce(myContext, whoRan, 150, true);
|
26896
26929
|
|
26897
26930
|
// console logs 'debounce ran.' one time immediately.
|
26898
26931
|
// 100ms passes
|
26899
|
-
|
26932
|
+
debounce(myContext, whoRan, 150, true);
|
26900
26933
|
|
26901
26934
|
// 150ms passes and nothing else is logged to the console and
|
26902
26935
|
// the debouncee is no longer being watched
|
26903
|
-
|
26936
|
+
debounce(myContext, whoRan, 150, true);
|
26904
26937
|
|
26905
26938
|
// console logs 'debounce ran.' one time immediately.
|
26906
26939
|
// 150ms passes and nothing else is logged to the console and
|
26907
26940
|
// the debouncee is no longer being watched
|
26908
|
-
|
26909
26941
|
```
|
26910
26942
|
|
26911
26943
|
@method debounce
|
@@ -26931,24 +26963,26 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
|
|
26931
26963
|
the specified spacing period. The target method is called immediately.
|
26932
26964
|
|
26933
26965
|
```javascript
|
26966
|
+
import { throttle } from '@ember/runloop';
|
26967
|
+
|
26934
26968
|
function whoRan() {
|
26935
26969
|
console.log(this.name + ' ran.');
|
26936
26970
|
}
|
26937
26971
|
|
26938
26972
|
let myContext = { name: 'throttle' };
|
26939
26973
|
|
26940
|
-
|
26974
|
+
throttle(myContext, whoRan, 150);
|
26941
26975
|
// whoRan is invoked with context myContext
|
26942
26976
|
// console logs 'throttle ran.'
|
26943
26977
|
|
26944
26978
|
// 50ms passes
|
26945
|
-
|
26979
|
+
throttle(myContext, whoRan, 150);
|
26946
26980
|
|
26947
26981
|
// 50ms passes
|
26948
|
-
|
26982
|
+
throttle(myContext, whoRan, 150);
|
26949
26983
|
|
26950
26984
|
// 150ms passes
|
26951
|
-
|
26985
|
+
throttle(myContext, whoRan, 150);
|
26952
26986
|
// whoRan is invoked with context myContext
|
26953
26987
|
// console logs 'throttle ran.'
|
26954
26988
|
```
|
@@ -47701,7 +47735,7 @@ enifed('ember/index', ['exports', 'require', 'ember-environment', 'node-module',
|
|
47701
47735
|
enifed("ember/version", ["exports"], function (exports) {
|
47702
47736
|
"use strict";
|
47703
47737
|
|
47704
|
-
exports.default = "2.18.0-beta.
|
47738
|
+
exports.default = "2.18.0-beta.4";
|
47705
47739
|
});
|
47706
47740
|
enifed("handlebars", ["exports"], function (exports) {
|
47707
47741
|
"use strict";
|
data/dist/ember.min.js
CHANGED
@@ -1545,7 +1545,7 @@ if(void 0!==s&&!s.isSourceDestroyed()){var a=s.peekWatching(n)
|
|
1545
1545
|
1===a?(s.writeWatching(n,0),i=t[n],o=null!==i&&"object"==typeof i&&i.isDescriptor,o&&i.didUnwatch&&i.didUnwatch(t,n,s),"function"==typeof t.didUnwatchProperty&&t.didUnwatchProperty(n)):a>1&&s.writeWatching(n,a-1)}}}function z(e){return new xt(null,null,e)}function V(e,t,n){if("object"==typeof e&&null!==e){var r=void 0===n?J(e):n,i=r.peekWatching(t)||0
|
1546
1546
|
r.writeWatching(t,i+1),0===i&&r.writableChains(z).add(t)}}function H(t,n,r){if("object"==typeof t&&null!==t){var i=void 0===r?e.peekMeta(t):r
|
1547
1547
|
if(void 0!==i){var o=i.peekWatching(n)||0
|
1548
|
-
1===o?(i.writeWatching(n,0),i.
|
1548
|
+
1===o?(i.writeWatching(n,0),i.writableChains(z).remove(n)):o>1&&i.writeWatching(n,o-1)}}}function q(e){return e.match(Ct)[0]}function W(e){return"object"==typeof e&&null!==e}function G(e){return!(W(e)&&e.isDescriptor&&e._volatile===!1)}function K(){return new St}function Q(e,t,n){var r=J(e)
|
1549
1549
|
r.writableChainWatchers(K).add(t,n),U(e,t,r)}function Y(t,n,r,i){if(W(t)){var o=void 0===i?e.peekMeta(t):i
|
1550
1550
|
void 0!==o&&void 0!==o.readableChainWatchers()&&(o=J(t),o.readableChainWatchers().remove(n,r),B(t,n,o))}}function $(t,n){if(W(t)){var r,i=e.peekMeta(t)
|
1551
1551
|
if(void 0===i||i.proto!==t)return G(t[n])?ne(t,n):(r=i.readableCache(),void 0!==r?ge.get(r,n):void 0)}}function J(t){var n=e.peekMeta(t),r=void 0
|
@@ -1666,7 +1666,7 @@ for(n in i)i[n]>0&&r.add(n)}return r},e.prototype.add=function(e){var t=this._pa
|
|
1666
1666
|
t[e]=(t[e]||0)+1
|
1667
1667
|
var n=q(e),r=e.slice(n.length+1)
|
1668
1668
|
this.chain(n,r)},e.prototype.remove=function(e){var t=this._paths
|
1669
|
-
if(void 0!==t
|
1669
|
+
if(void 0!==t){t[e]>0&&t[e]--
|
1670
1670
|
var n=q(e),r=e.slice(n.length+1)
|
1671
1671
|
this.unchain(n,r)}},e.prototype.chain=function(t,n){var r=this._chains,i=void 0
|
1672
1672
|
void 0===r?r=this._chains=Object.create(null):i=r[t],void 0===i&&(i=r[t]=new e(this,t,(void 0))),i.count++,n&&(t=q(n),n=n.slice(t.length+1),i.chain(t,n))},e.prototype.unchain=function(e,t){var n,r,i=this._chains,o=i[e]
|
@@ -2572,7 +2572,7 @@ var b,_=s.computed
|
|
2572
2572
|
_.alias=s.alias,s["default"].computed=_,s["default"].ComputedProperty=s.ComputedProperty,s["default"].cacheFor=s.cacheFor,s["default"].assert=u.assert,s["default"].warn=u.warn,s["default"].debug=u.debug,s["default"].deprecate=u.deprecate,s["default"].deprecateFunc=u.deprecateFunc,s["default"].runInDebug=u.runInDebug,s["default"].Debug={registerDeprecationHandler:u.registerDeprecationHandler,registerWarnHandler:u.registerWarnHandler},s["default"].merge=s.merge,s["default"].instrument=s.instrument,s["default"].subscribe=s.instrumentationSubscribe,s["default"].Instrumentation={instrument:s.instrument,subscribe:s.instrumentationSubscribe,unsubscribe:s.instrumentationUnsubscribe,reset:s.instrumentationReset},s["default"].Error=u.Error,s["default"].META_DESC=s.META_DESC,s["default"].meta=s.meta,s["default"].get=s.get,s["default"].getWithDefault=s.getWithDefault,s["default"]._getPath=s._getPath,s["default"].set=s.set,s["default"].trySet=s.trySet,s["default"].FEATURES=a.FEATURES,s["default"].FEATURES.isEnabled=u.isFeatureEnabled,s["default"]._Cache=s.Cache,s["default"].on=s.on,s["default"].addListener=s.addListener,s["default"].removeListener=s.removeListener,s["default"]._suspendListener=s.suspendListener,s["default"]._suspendListeners=s.suspendListeners,s["default"].sendEvent=s.sendEvent,s["default"].hasListeners=s.hasListeners,s["default"].watchedEvents=s.watchedEvents,s["default"].listenersFor=s.listenersFor,s["default"].isNone=s.isNone,s["default"].isEmpty=s.isEmpty,s["default"].isBlank=s.isBlank,s["default"].isPresent=s.isPresent,s["default"].run=s.run,s["default"]._ObserverSet=s.ObserverSet,s["default"].propertyWillChange=s.propertyWillChange,s["default"].propertyDidChange=s.propertyDidChange,s["default"].overrideChains=s.overrideChains,s["default"].beginPropertyChanges=s.beginPropertyChanges,s["default"].endPropertyChanges=s.endPropertyChanges,s["default"].changeProperties=s.changeProperties,s["default"].platform={defineProperty:!0,hasPropertyAccessors:!0},s["default"].defineProperty=s.defineProperty,s["default"].watchKey=s.watchKey,s["default"].unwatchKey=s.unwatchKey,s["default"].removeChainWatcher=s.removeChainWatcher,s["default"]._ChainNode=s.ChainNode,s["default"].finishChains=s.finishChains,s["default"].watchPath=s.watchPath,s["default"].unwatchPath=s.unwatchPath,s["default"].watch=s.watch,s["default"].isWatching=s.isWatching,s["default"].unwatch=s.unwatch,s["default"].destroy=s.deleteMeta,s["default"].libraries=s.libraries,s["default"].OrderedSet=s.OrderedSet,s["default"].Map=s.Map,s["default"].MapWithDefault=s.MapWithDefault,s["default"].getProperties=s.getProperties,s["default"].setProperties=s.setProperties,s["default"].expandProperties=s.expandProperties,s["default"].NAME_KEY=i.NAME_KEY,s["default"].addObserver=s.addObserver,s["default"].observersFor=s.observersFor,s["default"].removeObserver=s.removeObserver,s["default"]._suspendObserver=s._suspendObserver,s["default"]._suspendObservers=s._suspendObservers,s["default"].required=s.required,s["default"].aliasMethod=s.aliasMethod,s["default"].observer=s.observer,s["default"].immediateObserver=s._immediateObserver,s["default"].mixin=s.mixin,s["default"].Mixin=s.Mixin,s["default"].bind=s.bind,s["default"].Binding=s.Binding,s["default"].isGlobalPath=s.isGlobalPath,Object.defineProperty(s["default"],"ENV",{get:function(){return n.ENV},enumerable:!1}),Object.defineProperty(s["default"],"lookup",{get:function(){return n.context.lookup},set:function(e){n.context.lookup=e},enumerable:!1}),s["default"].EXTEND_PROTOTYPES=n.ENV.EXTEND_PROTOTYPES,Object.defineProperty(s["default"],"LOG_STACKTRACE_ON_DEPRECATION",{get:function(){return n.ENV.LOG_STACKTRACE_ON_DEPRECATION},set:function(e){n.ENV.LOG_STACKTRACE_ON_DEPRECATION=!!e},enumerable:!1}),Object.defineProperty(s["default"],"LOG_VERSION",{get:function(){return n.ENV.LOG_VERSION},set:function(e){n.ENV.LOG_VERSION=!!e},enumerable:!1}),Object.defineProperty(s["default"],"LOG_BINDINGS",{get:function(){return n.ENV.LOG_BINDINGS},set:function(e){n.ENV.LOG_BINDINGS=!!e},enumerable:!1}),Object.defineProperty(s["default"],"onerror",{get:s.getOnerror,set:s.setOnerror,enumerable:!1}),Object.defineProperty(s["default"],"K",{get:function(){return v}}),Object.defineProperty(s["default"],"testing",{get:u.isTesting,set:u.setTesting,enumerable:!1}),s["default"]._Backburner=c["default"],s["default"].Logger=l["default"],s["default"].String=p.String,s["default"].Object=p.Object,s["default"]._RegistryProxyMixin=p.RegistryProxyMixin,s["default"]._ContainerProxyMixin=p.ContainerProxyMixin,s["default"].compare=p.compare,s["default"].copy=p.copy,s["default"].isEqual=p.isEqual,s["default"].inject=p.inject,s["default"].Array=p.Array,s["default"].Comparable=p.Comparable,s["default"].Enumerable=p.Enumerable,s["default"].ArrayProxy=p.ArrayProxy,s["default"].ObjectProxy=p.ObjectProxy,s["default"].ActionHandler=p.ActionHandler,s["default"].CoreObject=p.CoreObject,s["default"].NativeArray=p.NativeArray,s["default"].Copyable=p.Copyable,s["default"].Freezable=p.Freezable,s["default"].FROZEN_ERROR=p.FROZEN_ERROR,s["default"].MutableEnumerable=p.MutableEnumerable,s["default"].MutableArray=p.MutableArray,s["default"].TargetActionSupport=p.TargetActionSupport,s["default"].Evented=p.Evented,s["default"].PromiseProxyMixin=p.PromiseProxyMixin,s["default"].Observable=p.Observable,s["default"].typeOf=p.typeOf,s["default"].isArray=p.isArray,s["default"].Object=p.Object,s["default"].onLoad=p.onLoad,s["default"].runLoadHooks=p.runLoadHooks,s["default"].Controller=p.Controller,s["default"].ControllerMixin=p.ControllerMixin,s["default"].Service=p.Service,s["default"]._ProxyMixin=p._ProxyMixin,s["default"].RSVP=p.RSVP,s["default"].Namespace=p.Namespace,_.empty=p.empty,_.notEmpty=p.notEmpty,_.none=p.none,_.not=p.not,_.bool=p.bool,_.match=p.match,_.equal=p.equal,_.gt=p.gt,_.gte=p.gte,_.lt=p.lt,_.lte=p.lte,_.oneWay=p.oneWay,_.reads=p.oneWay,_.readOnly=p.readOnly,_.deprecatingAlias=p.deprecatingAlias,_.and=p.and,_.or=p.or,_.any=p.any,_.sum=p.sum,_.min=p.min,_.max=p.max,_.map=p.map,_.sort=p.sort,_.setDiff=p.setDiff,_.mapBy=p.mapBy,_.filter=p.filter,_.filterBy=p.filterBy,_.uniq=p.uniq,_.uniqBy=p.uniqBy,_.union=p.union,_.intersect=p.intersect,_.collect=p.collect,Object.defineProperty(s["default"],"STRINGS",{configurable:!1,get:p.getStrings,set:p.setStrings}),Object.defineProperty(s["default"],"BOOTED",{configurable:!1,enumerable:!1,get:p.isNamespaceSearchDisabled,set:p.setNamespaceSearchDisabled}),s["default"].Component=h.Component,h.Helper.helper=h.helper,s["default"].Helper=h.Helper,s["default"].Checkbox=h.Checkbox,s["default"].TextField=h.TextField,s["default"].TextArea=h.TextArea,s["default"].LinkComponent=h.LinkComponent,n.ENV.EXTEND_PROTOTYPES.String&&(String.prototype.htmlSafe=function(){return(0,h.htmlSafe)(this)})
|
2573
2573
|
var w=s["default"].Handlebars=s["default"].Handlebars||{},O=s["default"].HTMLBars=s["default"].HTMLBars||{},E=w.Utils=w.Utils||{}
|
2574
2574
|
Object.defineProperty(w,"SafeString",{get:h._getSafeString}),O.template=w.template=h.template,E.escapeExpression=h.escapeExpression,p.String.htmlSafe=h.htmlSafe,p.String.isHTMLSafe=h.isHTMLSafe,Object.defineProperty(s["default"],"TEMPLATES",{get:h.getTemplates,set:h.setTemplates,configurable:!1,enumerable:!1}),e.VERSION=f["default"],s["default"].VERSION=f["default"],s.libraries.registerCoreLibrary("Ember",f["default"]),s["default"].$=d.jQuery,s["default"].ViewTargetActionSupport=d.ViewTargetActionSupport,s["default"].ViewUtils={isSimpleClick:d.isSimpleClick,getViewElement:d.getViewElement,getViewBounds:d.getViewBounds,getViewClientRects:d.getViewClientRects,getViewBoundingClientRect:d.getViewBoundingClientRect,getRootViews:d.getRootViews,getChildViews:d.getChildViews},s["default"].TextSupport=d.TextSupport,s["default"].ComponentLookup=d.ComponentLookup,s["default"].EventDispatcher=d.EventDispatcher,s["default"].Location=m.Location,s["default"].AutoLocation=m.AutoLocation,s["default"].HashLocation=m.HashLocation,s["default"].HistoryLocation=m.HistoryLocation,s["default"].NoneLocation=m.NoneLocation,s["default"].controllerFor=m.controllerFor,s["default"].generateControllerFactory=m.generateControllerFactory,s["default"].generateController=m.generateController,s["default"].RouterDSL=m.RouterDSL,s["default"].Router=m.Router,s["default"].Route=m.Route,s["default"].Application=g.Application,s["default"].ApplicationInstance=g.ApplicationInstance,s["default"].Engine=g.Engine,s["default"].EngineInstance=g.EngineInstance,s["default"].DefaultResolver=s["default"].Resolver=g.Resolver,(0,p.runLoadHooks)("Ember.Application",g.Application),s["default"].DataAdapter=y.DataAdapter,s["default"].ContainerDebugAdapter=y.ContainerDebugAdapter,(0,t.has)("ember-template-compiler")&&(0,t["default"])("ember-template-compiler"),(0,t.has)("ember-testing")&&(b=(0,t["default"])("ember-testing"),s["default"].Test=b.Test,s["default"].Test.Adapter=b.Adapter,s["default"].Test.QUnitAdapter=b.QUnitAdapter,s["default"].setupForTesting=b.setupForTesting),(0,p.runLoadHooks)("Ember"),e["default"]=s["default"],r.IS_NODE?r.module.exports=s["default"]:n.context.exports.Ember=n.context.exports.Em=s["default"]}),e("ember/version",["exports"],function(e){"use strict"
|
2575
|
-
e["default"]="2.18.0-beta.
|
2575
|
+
e["default"]="2.18.0-beta.4"}),e("node-module",["exports"],function(e){var t="object"==typeof module&&"function"==typeof module.require
|
2576
2576
|
t?(e.require=module.require,e.module=module,e.IS_NODE=t):(e.require=null,e.module=null,e.IS_NODE=t)}),e("route-recognizer",["exports"],function(e){"use strict"
|
2577
2577
|
function t(){var e=g(null)
|
2578
2578
|
return e.__=void 0,delete e.__,e}function n(e,t,r){return function(i,o){var s=e+i
|