Skip to content

Commit

Permalink
[BUGFIX lts] ember-template-compiler & fastboot compatibility (#18080)
Browse files Browse the repository at this point in the history
[BUGFIX lts] ember-template-compiler & fastboot compatibility
  • Loading branch information
rwjblue authored Jun 7, 2019
2 parents 3c4bca4 + 082bb0c commit 3579750
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/ember-template-compiler/lib/system/initializer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,9 @@ if (
Application.initializer({
name: 'domTemplates',
initialize() {
let context;
if (hasDOM) {
context = document;
bootstrap({ context: document, hasTemplate, setTemplate });
}

bootstrap({ context, hasTemplate, setTemplate });
},
});
}

0 comments on commit 3579750

Please sign in to comment.