emberjs/ember.js — pull request #1350 by dgeb (2012-09-06 03:27:15+00:00)
Title: Fix :: syntax in classNameBindings to work with falsy values

Currently, the double colon class name bindings work for true, truthy, and false values, but not falsy values. This commit corrects that.

For instance, `classNameBindings: ['isEnabled:enabled:disabled']` will now evaluate to `disabled` when `isEnabled` is falsy (and not just explicitly false).