From 83d37069e0e5b03e0d75175995cc2f74b111cc85 Mon Sep 17 00:00:00 2001 From: Brent Jubinville Date: Thu, 14 Apr 2016 12:11:38 -0400 Subject: [PATCH 1/2] chore(dummy app): add example for overriding config --- tests/dummy/app/services/fm-config.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 tests/dummy/app/services/fm-config.js diff --git a/tests/dummy/app/services/fm-config.js b/tests/dummy/app/services/fm-config.js new file mode 100644 index 0000000..ad7cec8 --- /dev/null +++ b/tests/dummy/app/services/fm-config.js @@ -0,0 +1,13 @@ +import FormMaster2000ConfigService from 'ember-form-master-2000/services/fm-config'; + +export default FormMaster2000ConfigService.extend({ + + // default config + // https://github.com/Emerson/ember-form-master-2000/blob/master/addon/services/fm-config.js + + // e.g. semantic-ui style overrides + formClass: 'ui form', + wrapperClass: 'field', + errorClass: 'error' + +}); From 707a2c1a815d06c52606f93bd80ec981fcf01262 Mon Sep 17 00:00:00 2001 From: Brent Jubinville Date: Sat, 16 Apr 2016 18:25:02 -0400 Subject: [PATCH 2/2] chore(dummy app): comment out semantic-ui and leave as an example only --- tests/dummy/app/services/fm-config.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/dummy/app/services/fm-config.js b/tests/dummy/app/services/fm-config.js index ad7cec8..08ddcfb 100644 --- a/tests/dummy/app/services/fm-config.js +++ b/tests/dummy/app/services/fm-config.js @@ -6,8 +6,8 @@ export default FormMaster2000ConfigService.extend({ // https://github.com/Emerson/ember-form-master-2000/blob/master/addon/services/fm-config.js // e.g. semantic-ui style overrides - formClass: 'ui form', - wrapperClass: 'field', - errorClass: 'error' + // formClass: 'ui form', + // wrapperClass: 'field', + // errorClass: 'error' });