emberjs/ember.js — pull request #3426 by alexdiliberto (2013-09-16 05:10:05+00:00)
Title: Fix documentation and inconsistent usage for Ember.deprecateFunc()

Ember.deprecateFunc() doesn't actually do, in some places, what it was stated as doing as in the docs. The docs listed the second argument as the function to be deprecated but twice it was called using the second argument as an alias a new, non-deprecated function with the same functionality.

Here are the two calls:
Ember.none = Ember.deprecateFunc("Ember.none is deprecated. Please use Ember.isNone instead.", Ember.isNone);
Ember.empty = Ember.deprecateFunc("Ember.empty is deprecated. Please use Ember.isEmpty instead.", Ember.isEmpty) ;