emberjs/ember.js — pull request #732 by pangratz (2012-04-24 15:23:24+00:00)
Title: Support :: syntax in classNameBindings of Ember.View

This commit extends bindings to class names by adding support for falsy class names by using the double colon* syntax as following:

```javascript
Ember.View.create({
classNameBindings: ['isEnabled:enabled:disabled']
isEnabled: true
});
```

This will add the class 'enabled' when isEnabled is true. If isEnabled is false the class 'disabled' is added instead.

*Inspired by recent semicolon discussion