We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent efb7d7a commit 8d700e2Copy full SHA for 8d700e2
1 file changed
vertical-collection/src/-private/utils/raf-scheduler.js
@@ -1,4 +1,4 @@
1
-import { macroCondition, isDevelopingApp } from '@embroider/macros';
+import { DEBUG } from '@glimmer/env';
2
import { begin, end } from '@ember/runloop';
3
import { assert } from '@ember/debug';
4
import { buildWaiter } from '@ember/test-waiters';
@@ -10,7 +10,7 @@ export class Token {
10
this._parent = parent;
11
this._cancelled = false;
12
13
- if (macroCondition(isDevelopingApp())) {
+ if (DEBUG) {
14
Object.seal(this);
15
}
16
@@ -48,7 +48,7 @@ export class Scheduler {
48
this._nextFlush = null;
49
this.ticks = 0;
50
51
52
53
54
0 commit comments