Skip to content

Commit 8d700e2

Browse files
committed
what if DEBUG again
1 parent efb7d7a commit 8d700e2

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

vertical-collection/src/-private/utils/raf-scheduler.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { macroCondition, isDevelopingApp } from '@embroider/macros';
1+
import { DEBUG } from '@glimmer/env';
22
import { begin, end } from '@ember/runloop';
33
import { assert } from '@ember/debug';
44
import { buildWaiter } from '@ember/test-waiters';
@@ -10,7 +10,7 @@ export class Token {
1010
this._parent = parent;
1111
this._cancelled = false;
1212

13-
if (macroCondition(isDevelopingApp())) {
13+
if (DEBUG) {
1414
Object.seal(this);
1515
}
1616
}
@@ -48,7 +48,7 @@ export class Scheduler {
4848
this._nextFlush = null;
4949
this.ticks = 0;
5050

51-
if (macroCondition(isDevelopingApp())) {
51+
if (DEBUG) {
5252
Object.seal(this);
5353
}
5454
}

0 commit comments

Comments
 (0)