Skip to content

Commit cd5f631

Browse files
NullVoxPopuliclaude
andcommitted
Remove unused DEFAULT_HELPER_MANAGER feature flag
This flag was always set to `true` and never actually read anywhere — the FEATURES property was defined on the GlobalContext interface and set during initialization, but no code ever consumed it. Remove the flag, the FEATURES property from the interface, and the initialization. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent ebd121f commit cd5f631

2 files changed

Lines changed: 0 additions & 7 deletions

File tree

packages/@ember/-internals/glimmer/lib/environment.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,6 @@ import toBool from './utils/to-bool';
1919
// Setup global context
2020

2121
setGlobalContext({
22-
FEATURES: {
23-
DEFAULT_HELPER_MANAGER: true,
24-
},
25-
2622
scheduleRevalidate() {
2723
_backburner.ensureInstance();
2824
},

packages/@glimmer/global-context/index.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -165,9 +165,6 @@ export interface GlobalContext {
165165
id: string;
166166
}
167167
) => void;
168-
FEATURES?: {
169-
DEFAULT_HELPER_MANAGER?: boolean;
170-
};
171168
}
172169

173170
let globalContextWasSet = false;

0 commit comments

Comments
 (0)