…and sprinkle `// eslint-disable-next-line no-undef` throughout the code where is unavoidable for now
12 lines
342 B
JavaScript
12 lines
342 B
JavaScript
import Component from "@ember/component";
|
|
|
|
let componentArgs = { tagName: "div" };
|
|
|
|
// TODO: Once we've moved to Ember CLI completely we can remove this block
|
|
// eslint-disable-next-line no-undef
|
|
if (!Ember.FEATURES.EMBER_GLIMMER_SET_COMPONENT_TEMPLATE) {
|
|
componentArgs = { tagName: "" };
|
|
}
|
|
|
|
export default Component.extend(componentArgs);
|