diff --git a/blueprints/.jshintrc b/blueprints/.jshintrc index c189e4a7d..68b2b3584 100644 --- a/blueprints/.jshintrc +++ b/blueprints/.jshintrc @@ -1,5 +1,7 @@ { "predef": [ "console" - ] + ], + "strict": false, + "esversion": 6 } diff --git a/blueprints/modal/files/app/components/__name__-__path__/component.js b/blueprints/modal/files/app/components/__name__-__path__/component.js new file mode 100644 index 000000000..867e15fcd --- /dev/null +++ b/blueprints/modal/files/app/components/__name__-__path__/component.js @@ -0,0 +1,6 @@ +import Ember from 'ember'; +import ModalBase from 'ui/mixins/modal-base'; + +export default Ember.Component.extend(ModalBase, { + classNames: [`${<%= size %>}`], +}); diff --git a/blueprints/modal/files/app/components/__name__-__path__/template.hbs b/blueprints/modal/files/app/components/__name__-__path__/template.hbs new file mode 100644 index 000000000..555ff3980 --- /dev/null +++ b/blueprints/modal/files/app/components/__name__-__path__/template.hbs @@ -0,0 +1,4 @@ +