emberjs/ember.js — pull request #378 by edtsech (2012-01-11 16:38:00+00:00)
Title: Change behavior of Ember.empty

Pull request implement this behavior:

```
Ember.empty({}) // => true
Ember.empty({length:0}) // => true
Ember.empty({length:1}) // => false
```
Because it uses Ember.isArray internally and `Ember.isArray({length: 1}) // => true`