We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6a05644 + 4f990d8 commit 1a8c81cCopy full SHA for 1a8c81c
1 file changed
ember-composable-helpers/src/-private/closure-action.ts
@@ -9,12 +9,15 @@ const { __loader } = Ember;
9
10
let ClosureActionModule = { ACTION: null };
11
12
-if (__loader && 'ember-htmlbars/keywords/closure-action' in __loader.registry) {
+if (
13
+ __loader?.registry &&
14
+ 'ember-htmlbars/keywords/closure-action' in __loader.registry
15
+) {
16
ClosureActionModule = __loader.require(
17
'ember-htmlbars/keywords/closure-action',
18
);
19
} else if (
- __loader &&
20
21
'ember-routing-htmlbars/keywords/closure-action' in __loader.registry
22
) {
23
0 commit comments