Skip to content

Commit

Permalink
[3.2.0] Hot New Release
Browse files Browse the repository at this point in the history
* Now Ember 2.11 Compatible
  • Loading branch information
Emerson committed Feb 9, 2017
1 parent e5f7db9 commit b2a9b12
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.MD
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# ember-form-master-2000 Change Log

### 3.2.0

- [UPGRADE] Now on Ember 2.11.
- Using new `(action 'syntax')`

### 3.1.0

- [UPGRADE] Upgrade to Ember 2.9.1 and fix issues.
Expand Down
2 changes: 1 addition & 1 deletion addon/components/fm-field.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ export default Ember.Component.extend({

userInteraction() {
this.set('shouldShowErrors', true);
if (this.attrs.onUserInteraction){
if (this.attrs.onUserInteraction && typeof this.attrs.onUserInteraction === 'function'){
this.attrs.onUserInteraction();
}
},
Expand Down
2 changes: 1 addition & 1 deletion addon/templates/components/fm-widgets/radio-group.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
value=value
targetValue=(get option widgetAttrs.optionValuePath)
label=(get option widgetAttrs.optionLabelPath)
onUserInteraction='radioButtonInteraction'
onUserInteraction=(action 'radioButtonInteraction')
}}
{{/each}}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ember-form-master-2000",
"version": "3.1.0",
"version": "3.2.0",
"description": "A simple and flexible Ember-CLI based form builder.",
"directories": {
"doc": "doc",
Expand Down
2 changes: 1 addition & 1 deletion tests/helpers/resolver.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Resolver from 'ember/resolver';
import Resolver from 'ember-resolver';
import config from '../../config/environment';

var resolver = Resolver.create();
Expand Down

0 comments on commit b2a9b12

Please sign in to comment.