mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: Add top level <div> when using Ember CLI (#12878)
Eventually we'd like to remove this but it makes our Ember CLI build consistent with the non-ember version.
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
import Component from "@ember/component";
|
||||
|
||||
let componentArgs = { tagName: "div" };
|
||||
|
||||
// TODO: Once we've moved to Ember CLI completely we can remove this.
|
||||
if (!Ember.FEATURES.EMBER_GLIMMER_SET_COMPONENT_TEMPLATE) {
|
||||
componentArgs = { tagName: "" };
|
||||
}
|
||||
|
||||
export default Component.extend(componentArgs);
|
||||
@@ -1,3 +1,4 @@
|
||||
{{#discourse-root}}
|
||||
{{d-document}}
|
||||
{{plugin-outlet name="above-site-header" tagName=""}}
|
||||
{{site-header canSignUp=canSignUp
|
||||
@@ -40,3 +41,4 @@
|
||||
{{#if showFooterNav}}
|
||||
{{footer-nav}}
|
||||
{{/if}}
|
||||
{{/discourse-root}}
|
||||
|
||||
Reference in New Issue
Block a user