ember-source 2.16.0 → 2.16.1
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 +356 -202
- data/dist/ember-template-compiler.js +443 -255
- data/dist/ember-testing.js +74 -59
- data/dist/ember-tests.js +162 -42
- data/dist/ember-tests.prod.js +157 -46
- data/dist/ember.debug.js +804 -629
- data/dist/ember.min.js +11 -11
- data/dist/ember.prod.js +743 -567
- metadata +3 -3
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.16.
|
9
|
+
* @version 2.16.1
|
10
10
|
*/
|
11
11
|
|
12
12
|
var enifed, requireModule, Ember;
|
@@ -190,12 +190,10 @@ enifed('ember-debug/deprecate', ['exports', 'ember-debug/error', 'ember-console'
|
|
190
190
|
|
191
191
|
exports.missingOptionsUntilDeprecation = exports.missingOptionsIdDeprecation = exports.missingOptionsDeprecation = exports.registerHandler = undefined;
|
192
192
|
|
193
|
-
|
194
193
|
/**
|
195
|
-
|
196
|
-
|
194
|
+
@module @ember/debug
|
195
|
+
@public
|
197
196
|
*/
|
198
|
-
|
199
197
|
/**
|
200
198
|
Allows for runtime registration of handler functions that override the default deprecation behavior.
|
201
199
|
Deprecations are invoked by calls to [Ember.deprecate](https://emberjs.com/api/classes/Ember.html#method_deprecate).
|
@@ -228,7 +226,7 @@ enifed('ember-debug/deprecate', ['exports', 'ember-debug/error', 'ember-console'
|
|
228
226
|
@public
|
229
227
|
@static
|
230
228
|
@method registerDeprecationHandler
|
231
|
-
@for
|
229
|
+
@for @ember/debug
|
232
230
|
@param handler {Function} A function to handle deprecation calls.
|
233
231
|
@since 2.1.0
|
234
232
|
*/
|
@@ -320,13 +318,17 @@ enifed('ember-debug/deprecate', ['exports', 'ember-debug/error', 'ember-console'
|
|
320
318
|
exports.missingOptionsDeprecation = missingOptionsDeprecation = 'When calling `Ember.deprecate` you ' + 'must provide an `options` hash as the third parameter. ' + '`options` should include `id` and `until` properties.';
|
321
319
|
exports.missingOptionsIdDeprecation = missingOptionsIdDeprecation = 'When calling `Ember.deprecate` you must provide `id` in options.';
|
322
320
|
exports.missingOptionsUntilDeprecation = missingOptionsUntilDeprecation = 'When calling `Ember.deprecate` you must provide `until` in options.';
|
323
|
-
|
321
|
+
/**
|
322
|
+
@module @ember/application
|
323
|
+
@public
|
324
|
+
*/
|
324
325
|
/**
|
325
326
|
Display a deprecation warning with the provided message and a stack trace
|
326
327
|
(Chrome and Firefox only).
|
327
328
|
* In a production build, this method is defined as an empty function (NOP).
|
328
329
|
Uses of this method in Ember itself are stripped from the ember.prod.js build.
|
329
330
|
@method deprecate
|
331
|
+
@for @ember/application/deprecations
|
330
332
|
@param {String} message A description of the deprecation.
|
331
333
|
@param {Boolean} test A boolean. If falsy, the deprecation will be displayed.
|
332
334
|
@param {Object} options
|
@@ -338,7 +340,7 @@ enifed('ember-debug/deprecate', ['exports', 'ember-debug/error', 'ember-console'
|
|
338
340
|
warning will be removed.
|
339
341
|
@param {String} [options.url] An optional url to the transition guide on the
|
340
342
|
emberjs.com website.
|
341
|
-
@
|
343
|
+
@static
|
342
344
|
@public
|
343
345
|
@since 1.0.0
|
344
346
|
*/
|
@@ -380,6 +382,9 @@ enifed('ember-debug/deprecate', ['exports', 'ember-debug/error', 'ember-console'
|
|
380
382
|
enifed("ember-debug/error", ["exports", "ember-babel"], function (exports, _emberBabel) {
|
381
383
|
"use strict";
|
382
384
|
|
385
|
+
/**
|
386
|
+
@module @ember/error
|
387
|
+
*/
|
383
388
|
function ExtendBuiltin(klass) {
|
384
389
|
function ExtendableBuiltin() {
|
385
390
|
klass.apply(this, arguments);
|
@@ -393,8 +398,7 @@ enifed("ember-debug/error", ["exports", "ember-babel"], function (exports, _embe
|
|
393
398
|
/**
|
394
399
|
A subclass of the JavaScript Error object for use in Ember.
|
395
400
|
|
396
|
-
@class
|
397
|
-
@namespace Ember
|
401
|
+
@class EmberError
|
398
402
|
@extends Error
|
399
403
|
@constructor
|
400
404
|
@public
|
@@ -438,6 +442,10 @@ enifed('ember-debug/features', ['exports', 'ember-environment', 'ember/features'
|
|
438
442
|
var FEATURES = _features.FEATURES;
|
439
443
|
|
440
444
|
|
445
|
+
/**
|
446
|
+
@module ember
|
447
|
+
*/
|
448
|
+
|
441
449
|
/**
|
442
450
|
The hash of enabled Canary features. Add to this, any canary features
|
443
451
|
before creating your application.
|
@@ -626,13 +634,7 @@ enifed('ember-debug/index', ['exports', 'ember-debug/warn', 'ember-debug/depreca
|
|
626
634
|
}
|
627
635
|
|
628
636
|
/**
|
629
|
-
@module ember
|
630
|
-
@submodule ember-debug
|
631
|
-
*/
|
632
|
-
|
633
|
-
/**
|
634
|
-
@class Ember
|
635
|
-
@public
|
637
|
+
@module @ember/debug
|
636
638
|
*/
|
637
639
|
|
638
640
|
if (true) {
|
@@ -641,12 +643,15 @@ enifed('ember-debug/index', ['exports', 'ember-debug/warn', 'ember-debug/depreca
|
|
641
643
|
* In a production build, this method is defined as an empty function (NOP).
|
642
644
|
Uses of this method in Ember itself are stripped from the ember.prod.js build.
|
643
645
|
```javascript
|
644
|
-
|
645
|
-
|
646
|
+
import { assert } from '@ember/debug';
|
647
|
+
// Test for truthiness
|
648
|
+
assert('Must pass a valid object', obj);
|
646
649
|
// Fail unconditionally
|
647
|
-
|
650
|
+
assert('This code path should never be run');
|
648
651
|
```
|
649
652
|
@method assert
|
653
|
+
@static
|
654
|
+
@for @ember/debug
|
650
655
|
@param {String} desc A description of the assertion. This will become
|
651
656
|
the text of the Error thrown if the assertion fails.
|
652
657
|
@param {Boolean} test Must be truthy for the assertion to pass. If
|
@@ -665,9 +670,12 @@ enifed('ember-debug/index', ['exports', 'ember-debug/warn', 'ember-debug/depreca
|
|
665
670
|
* In a production build, this method is defined as an empty function (NOP).
|
666
671
|
Uses of this method in Ember itself are stripped from the ember.prod.js build.
|
667
672
|
```javascript
|
668
|
-
|
673
|
+
import { debug } from '@ember/debug';
|
674
|
+
debug('I\'m a debug notice!');
|
669
675
|
```
|
670
676
|
@method debug
|
677
|
+
@for @ember/debug
|
678
|
+
@static
|
671
679
|
@param {String} message A debug message to display.
|
672
680
|
@public
|
673
681
|
*/
|
@@ -686,6 +694,11 @@ enifed('ember-debug/index', ['exports', 'ember-debug/warn', 'ember-debug/depreca
|
|
686
694
|
_emberConsole.default.info.apply(undefined, arguments);
|
687
695
|
});
|
688
696
|
|
697
|
+
/**
|
698
|
+
@module @ember/application
|
699
|
+
@public
|
700
|
+
*/
|
701
|
+
|
689
702
|
/**
|
690
703
|
Alias an old, deprecated method with its new counterpart.
|
691
704
|
Display a deprecation warning with the provided message and a stack trace
|
@@ -695,6 +708,8 @@ enifed('ember-debug/index', ['exports', 'ember-debug/warn', 'ember-debug/depreca
|
|
695
708
|
Ember.oldMethod = Ember.deprecateFunc('Please use the new, updated method', Ember.newMethod);
|
696
709
|
```
|
697
710
|
@method deprecateFunc
|
711
|
+
@static
|
712
|
+
@for @ember/application/deprecations
|
698
713
|
@param {String} message A description of the deprecation.
|
699
714
|
@param {Object} [options] The options object for Ember.deprecate.
|
700
715
|
@param {Function} func The new function called to replace its deprecated counterpart.
|
@@ -726,13 +741,19 @@ enifed('ember-debug/index', ['exports', 'ember-debug/warn', 'ember-debug/depreca
|
|
726
741
|
}
|
727
742
|
});
|
728
743
|
|
744
|
+
/**
|
745
|
+
@module @ember/debug
|
746
|
+
@public
|
747
|
+
*/
|
729
748
|
/**
|
730
749
|
Run a function meant for debugging.
|
731
750
|
* In a production build, this method is defined as an empty function (NOP).
|
732
751
|
Uses of this method in Ember itself are stripped from the ember.prod.js build.
|
733
752
|
```javascript
|
734
|
-
|
735
|
-
|
753
|
+
import Component from '@ember/component';
|
754
|
+
import { runInDebug } from '@ember/debug';
|
755
|
+
runInDebug(() => {
|
756
|
+
Component.reopen({
|
736
757
|
didInsertElement() {
|
737
758
|
console.log("I'm happy");
|
738
759
|
}
|
@@ -740,6 +761,8 @@ enifed('ember-debug/index', ['exports', 'ember-debug/warn', 'ember-debug/depreca
|
|
740
761
|
});
|
741
762
|
```
|
742
763
|
@method runInDebug
|
764
|
+
@for @ember/debug
|
765
|
+
@static
|
743
766
|
@param {Function} func The function to be executed.
|
744
767
|
@since 1.5.0
|
745
768
|
@public
|
@@ -765,7 +788,7 @@ enifed('ember-debug/index', ['exports', 'ember-debug/warn', 'ember-debug/depreca
|
|
765
788
|
|
766
789
|
if (true && !(0, _testing.isTesting)()) {
|
767
790
|
/**
|
768
|
-
Will call `
|
791
|
+
Will call `warn()` if ENABLE_OPTIONAL_FEATURES or
|
769
792
|
any specific FEATURES flag is truthy.
|
770
793
|
This method is called automatically in debug canary builds.
|
771
794
|
@private
|
@@ -860,19 +883,19 @@ enifed('ember-debug/warn', ['exports', 'ember-console', 'ember-debug/deprecate',
|
|
860
883
|
missingOptionsIdDeprecation = void 0;
|
861
884
|
|
862
885
|
/**
|
863
|
-
@module ember
|
864
|
-
@submodule ember-debug
|
886
|
+
@module @ember/debug
|
865
887
|
*/
|
866
888
|
|
867
889
|
if (true) {
|
868
890
|
/**
|
869
891
|
Allows for runtime registration of handler functions that override the default warning behavior.
|
870
|
-
Warnings are invoked by calls made to [
|
892
|
+
Warnings are invoked by calls made to [warn](https://emberjs.com/api/classes/Ember.html#method_warn).
|
871
893
|
The following example demonstrates its usage by registering a handler that does nothing overriding Ember's
|
872
894
|
default warning behavior.
|
873
895
|
```javascript
|
874
|
-
|
875
|
-
|
896
|
+
import { registerWarnHandler } from '@ember/debug';
|
897
|
+
// next is not called, so no warnings get the default behavior
|
898
|
+
registerWarnHandler(() => {});
|
876
899
|
```
|
877
900
|
The handler function takes the following arguments:
|
878
901
|
<ul>
|
@@ -886,7 +909,7 @@ enifed('ember-debug/warn', ['exports', 'ember-console', 'ember-debug/deprecate',
|
|
886
909
|
@public
|
887
910
|
@static
|
888
911
|
@method registerWarnHandler
|
889
|
-
@for
|
912
|
+
@for @ember/debug
|
890
913
|
@param handler {Function} A function to handle warnings.
|
891
914
|
@since 2.1.0
|
892
915
|
*/
|
@@ -901,14 +924,16 @@ enifed('ember-debug/warn', ['exports', 'ember-console', 'ember-debug/deprecate',
|
|
901
924
|
}
|
902
925
|
});
|
903
926
|
|
904
|
-
exports.missingOptionsDeprecation = missingOptionsDeprecation = 'When calling `
|
905
|
-
exports.missingOptionsIdDeprecation = missingOptionsIdDeprecation = 'When calling `
|
927
|
+
exports.missingOptionsDeprecation = missingOptionsDeprecation = 'When calling `warn` you ' + 'must provide an `options` hash as the third parameter. ' + '`options` should include an `id` property.';
|
928
|
+
exports.missingOptionsIdDeprecation = missingOptionsIdDeprecation = 'When calling `warn` you must provide `id` in options.';
|
906
929
|
|
907
930
|
/**
|
908
931
|
Display a warning with the provided message.
|
909
932
|
* In a production build, this method is defined as an empty function (NOP).
|
910
933
|
Uses of this method in Ember itself are stripped from the ember.prod.js build.
|
911
934
|
@method warn
|
935
|
+
@for @ember/debug
|
936
|
+
@static
|
912
937
|
@param {String} message A warning to display.
|
913
938
|
@param {Boolean} test An optional boolean. If falsy, the warning
|
914
939
|
will be displayed.
|
@@ -916,7 +941,6 @@ enifed('ember-debug/warn', ['exports', 'ember-console', 'ember-debug/deprecate',
|
|
916
941
|
`id` for this warning. The `id` can be used by Ember debugging tools
|
917
942
|
to change the behavior (raise, log, or silence) for that specific warning.
|
918
943
|
The `id` should be namespaced by dots, e.g. "ember-debug.feature-flag-with-features-stripped"
|
919
|
-
@for Ember
|
920
944
|
@public
|
921
945
|
@since 1.0.0
|
922
946
|
*/
|
@@ -958,8 +982,7 @@ enifed('ember-testing/adapters/adapter', ['exports', 'ember-runtime'], function
|
|
958
982
|
}
|
959
983
|
|
960
984
|
/**
|
961
|
-
@module ember
|
962
|
-
@submodule ember-testing
|
985
|
+
@module @ember/test
|
963
986
|
*/
|
964
987
|
|
965
988
|
/**
|
@@ -967,7 +990,6 @@ enifed('ember-testing/adapters/adapter', ['exports', 'ember-runtime'], function
|
|
967
990
|
by an adapter for various test frameworks.
|
968
991
|
|
969
992
|
@class Adapter
|
970
|
-
@namespace Ember.Test
|
971
993
|
@public
|
972
994
|
*/
|
973
995
|
exports.default = _emberRuntime.Object.extend({
|
@@ -1313,10 +1335,6 @@ enifed("ember-testing/helpers/and_then", ["exports"], function (exports) {
|
|
1313
1335
|
"use strict";
|
1314
1336
|
|
1315
1337
|
exports.default = andThen;
|
1316
|
-
/**
|
1317
|
-
@module ember
|
1318
|
-
@submodule ember-testing
|
1319
|
-
*/
|
1320
1338
|
function andThen(app, callback) {
|
1321
1339
|
return app.testHelpers.wait(callback(app));
|
1322
1340
|
}
|
@@ -1359,7 +1377,6 @@ enifed('ember-testing/helpers/click', ['exports', 'ember-testing/events'], funct
|
|
1359
1377
|
return app.testHelpers.wait();
|
1360
1378
|
} /**
|
1361
1379
|
@module ember
|
1362
|
-
@submodule ember-testing
|
1363
1380
|
*/
|
1364
1381
|
});
|
1365
1382
|
enifed('ember-testing/helpers/current_path', ['exports', 'ember-metal'], function (exports, _emberMetal) {
|
@@ -1391,7 +1408,6 @@ enifed('ember-testing/helpers/current_path', ['exports', 'ember-metal'], functio
|
|
1391
1408
|
return (0, _emberMetal.get)(routingService, 'currentPath');
|
1392
1409
|
} /**
|
1393
1410
|
@module ember
|
1394
|
-
@submodule ember-testing
|
1395
1411
|
*/
|
1396
1412
|
});
|
1397
1413
|
enifed('ember-testing/helpers/current_route_name', ['exports', 'ember-metal'], function (exports, _emberMetal) {
|
@@ -1421,7 +1437,6 @@ enifed('ember-testing/helpers/current_route_name', ['exports', 'ember-metal'], f
|
|
1421
1437
|
return (0, _emberMetal.get)(routingService, 'currentRouteName');
|
1422
1438
|
} /**
|
1423
1439
|
@module ember
|
1424
|
-
@submodule ember-testing
|
1425
1440
|
*/
|
1426
1441
|
});
|
1427
1442
|
enifed('ember-testing/helpers/current_url', ['exports', 'ember-metal'], function (exports, _emberMetal) {
|
@@ -1453,7 +1468,6 @@ enifed('ember-testing/helpers/current_url', ['exports', 'ember-metal'], function
|
|
1453
1468
|
return (0, _emberMetal.get)(router, 'location').getURL();
|
1454
1469
|
} /**
|
1455
1470
|
@module ember
|
1456
|
-
@submodule ember-testing
|
1457
1471
|
*/
|
1458
1472
|
});
|
1459
1473
|
enifed('ember-testing/helpers/fill_in', ['exports', 'ember-testing/events'], function (exports, _events) {
|
@@ -1500,7 +1514,6 @@ enifed('ember-testing/helpers/fill_in', ['exports', 'ember-testing/events'], fun
|
|
1500
1514
|
return app.testHelpers.wait();
|
1501
1515
|
} /**
|
1502
1516
|
@module ember
|
1503
|
-
@submodule ember-testing
|
1504
1517
|
*/
|
1505
1518
|
});
|
1506
1519
|
enifed('ember-testing/helpers/find', ['exports', 'ember-metal'], function (exports, _emberMetal) {
|
@@ -1539,7 +1552,6 @@ enifed('ember-testing/helpers/find', ['exports', 'ember-metal'], function (expor
|
|
1539
1552
|
return $el;
|
1540
1553
|
} /**
|
1541
1554
|
@module ember
|
1542
|
-
@submodule ember-testing
|
1543
1555
|
*/
|
1544
1556
|
});
|
1545
1557
|
enifed('ember-testing/helpers/find_with_assert', ['exports'], function (exports) {
|
@@ -1548,7 +1560,6 @@ enifed('ember-testing/helpers/find_with_assert', ['exports'], function (exports)
|
|
1548
1560
|
exports.default = findWithAssert;
|
1549
1561
|
/**
|
1550
1562
|
@module ember
|
1551
|
-
@submodule ember-testing
|
1552
1563
|
*/
|
1553
1564
|
/**
|
1554
1565
|
Like `find`, but throws an error if the element selector returns no results.
|
@@ -1588,7 +1599,6 @@ enifed("ember-testing/helpers/key_event", ["exports"], function (exports) {
|
|
1588
1599
|
exports.default = keyEvent;
|
1589
1600
|
/**
|
1590
1601
|
@module ember
|
1591
|
-
@submodule ember-testing
|
1592
1602
|
*/
|
1593
1603
|
/**
|
1594
1604
|
Simulates a key event, e.g. `keypress`, `keydown`, `keyup` with the desired keyCode
|
@@ -1640,7 +1650,6 @@ enifed('ember-testing/helpers/pause_test', ['exports', 'ember-runtime', 'ember-c
|
|
1640
1650
|
*/
|
1641
1651
|
/**
|
1642
1652
|
@module ember
|
1643
|
-
@submodule ember-testing
|
1644
1653
|
*/
|
1645
1654
|
function resumeTest() {
|
1646
1655
|
(true && !(resume) && (0, _emberDebug.assert)('Testing has not been paused. There is nothing to resume.', resume));
|
@@ -1760,7 +1769,6 @@ enifed('ember-testing/helpers/trigger_event', ['exports', 'ember-testing/events'
|
|
1760
1769
|
return app.testHelpers.wait();
|
1761
1770
|
} /**
|
1762
1771
|
@module ember
|
1763
|
-
@submodule ember-testing
|
1764
1772
|
*/
|
1765
1773
|
});
|
1766
1774
|
enifed('ember-testing/helpers/visit', ['exports', 'ember-metal'], function (exports, _emberMetal) {
|
@@ -1810,7 +1818,6 @@ enifed('ember-testing/helpers/visit', ['exports', 'ember-metal'], function (expo
|
|
1810
1818
|
return app.testHelpers.wait();
|
1811
1819
|
} /**
|
1812
1820
|
@module ember
|
1813
|
-
@submodule ember-testing
|
1814
1821
|
*/
|
1815
1822
|
});
|
1816
1823
|
enifed('ember-testing/helpers/wait', ['exports', 'ember-testing/test/waiters', 'ember-runtime', 'ember-metal', 'ember-testing/test/pending_requests'], function (exports, _waiters, _emberRuntime, _emberMetal, _pending_requests) {
|
@@ -1849,7 +1856,6 @@ enifed('ember-testing/helpers/wait', ['exports', 'ember-testing/test/waiters', '
|
|
1849
1856
|
*/
|
1850
1857
|
/**
|
1851
1858
|
@module ember
|
1852
|
-
@submodule ember-testing
|
1853
1859
|
*/
|
1854
1860
|
function wait(app, value) {
|
1855
1861
|
return new _emberRuntime.RSVP.Promise(function (resolve) {
|
@@ -1979,7 +1985,6 @@ enifed('ember-testing/support', ['ember-debug', 'ember-views', 'ember-environmen
|
|
1979
1985
|
|
1980
1986
|
/**
|
1981
1987
|
@module ember
|
1982
|
-
@submodule ember-testing
|
1983
1988
|
*/
|
1984
1989
|
|
1985
1990
|
var $ = _emberViews.jQuery;
|
@@ -2084,7 +2089,6 @@ enifed('ember-testing/test', ['exports', 'ember-testing/test/helpers', 'ember-te
|
|
2084
2089
|
*/
|
2085
2090
|
/**
|
2086
2091
|
@module ember
|
2087
|
-
@submodule ember-testing
|
2088
2092
|
*/
|
2089
2093
|
Object.defineProperty(Test, 'adapter', {
|
2090
2094
|
get: _adapter.getAdapter,
|
@@ -2141,6 +2145,9 @@ enifed('ember-testing/test/helpers', ['exports', 'ember-testing/test/promise'],
|
|
2141
2145
|
exports.registerAsyncHelper = registerAsyncHelper;
|
2142
2146
|
exports.unregisterHelper = unregisterHelper;
|
2143
2147
|
var helpers = exports.helpers = {};
|
2148
|
+
/**
|
2149
|
+
@module @ember/test
|
2150
|
+
*/
|
2144
2151
|
|
2145
2152
|
/**
|
2146
2153
|
`registerHelper` is used to register a test helper that will be injected
|
@@ -2167,7 +2174,8 @@ enifed('ember-testing/test/helpers', ['exports', 'ember-testing/test/promise'],
|
|
2167
2174
|
```
|
2168
2175
|
|
2169
2176
|
@public
|
2170
|
-
@for
|
2177
|
+
@for @ember/test
|
2178
|
+
@static
|
2171
2179
|
@method registerHelper
|
2172
2180
|
@param {String} name The name of the helper method to add.
|
2173
2181
|
@param {Function} helperMethod
|
@@ -2215,7 +2223,7 @@ enifed('ember-testing/test/helpers', ['exports', 'ember-testing/test/promise'],
|
|
2215
2223
|
```
|
2216
2224
|
|
2217
2225
|
@public
|
2218
|
-
@for
|
2226
|
+
@for @ember/test
|
2219
2227
|
@method registerAsyncHelper
|
2220
2228
|
@param {String} name The name of the helper method to add.
|
2221
2229
|
@param {Function} helperMethod
|
@@ -2239,6 +2247,8 @@ enifed('ember-testing/test/helpers', ['exports', 'ember-testing/test/promise'],
|
|
2239
2247
|
|
2240
2248
|
@public
|
2241
2249
|
@method unregisterHelper
|
2250
|
+
@static
|
2251
|
+
@for @ember/test
|
2242
2252
|
@param {String} name The helper to remove.
|
2243
2253
|
*/
|
2244
2254
|
function unregisterHelper(name) {
|
@@ -2446,6 +2456,9 @@ enifed('ember-testing/test/waiters', ['exports', 'ember-debug'], function (expor
|
|
2446
2456
|
exports.checkWaiters = checkWaiters;
|
2447
2457
|
|
2448
2458
|
|
2459
|
+
/**
|
2460
|
+
@module @ember/test
|
2461
|
+
*/
|
2449
2462
|
var contexts = [];
|
2450
2463
|
var callbacks = [];
|
2451
2464
|
|
@@ -2474,7 +2487,8 @@ enifed('ember-testing/test/waiters', ['exports', 'ember-debug'], function (expor
|
|
2474
2487
|
```
|
2475
2488
|
|
2476
2489
|
@public
|
2477
|
-
@for
|
2490
|
+
@for @ember/test
|
2491
|
+
@static
|
2478
2492
|
@method registerWaiter
|
2479
2493
|
@param {Object} context (optional)
|
2480
2494
|
@param {Function} callback
|
@@ -2497,7 +2511,8 @@ enifed('ember-testing/test/waiters', ['exports', 'ember-debug'], function (expor
|
|
2497
2511
|
registered with `registerWaiter`.
|
2498
2512
|
|
2499
2513
|
@public
|
2500
|
-
@for
|
2514
|
+
@for @ember/test
|
2515
|
+
@static
|
2501
2516
|
@method unregisterWaiter
|
2502
2517
|
@param {Object} context (optional)
|
2503
2518
|
@param {Function} callback
|
@@ -2528,7 +2543,7 @@ enifed('ember-testing/test/waiters', ['exports', 'ember-debug'], function (expor
|
|
2528
2543
|
infrastructure.
|
2529
2544
|
|
2530
2545
|
@public
|
2531
|
-
@for
|
2546
|
+
@for @ember/test
|
2532
2547
|
@static
|
2533
2548
|
@method checkWaiters
|
2534
2549
|
*/
|