Skip to content

Commit

Permalink
Merge pull request #11739 from tricknotes/fix-example-in-doc
Browse files Browse the repository at this point in the history
[DOC release] Fix example code for `classNameBindings`
  • Loading branch information
mixonic committed Jul 14, 2015
2 parents 9df93dc + 039ecb3 commit b3ba439
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/ember-views/lib/mixins/class_names_support.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export default Mixin.create({
```javascript
// Applies the 'high' class to the view element
Ember.View.extend({
classNameBindings: ['priority']
classNameBindings: ['priority'],
priority: 'high'
});
```
Expand All @@ -57,7 +57,7 @@ export default Mixin.create({
```javascript
// Applies the 'is-urgent' class to the view element
Ember.View.extend({
classNameBindings: ['isUrgent']
classNameBindings: ['isUrgent'],
isUrgent: true
});
```
Expand All @@ -68,7 +68,7 @@ export default Mixin.create({
```javascript
// Applies the 'urgent' class to the view element
Ember.View.extend({
classNameBindings: ['isUrgent:urgent']
classNameBindings: ['isUrgent:urgent'],
isUrgent: true
});
```
Expand Down

0 comments on commit b3ba439

Please sign in to comment.