Skip to content

Commit

Permalink
Merge pull request #11762 from juggy/deprecateFunc
Browse files Browse the repository at this point in the history
[BUGFIX release] deprecateFunc in production
  • Loading branch information
rwjblue committed Jul 16, 2015
2 parents b19eb2c + ae6ebf0 commit 68e7fee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ember-metal/lib/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ if ('undefined' === typeof Ember.debug) { Ember.debug = K; }
if ('undefined' === typeof Ember.runInDebug) { Ember.runInDebug = K; }
if ('undefined' === typeof Ember.deprecate) { Ember.deprecate = K; }
if ('undefined' === typeof Ember.deprecateFunc) {
Ember.deprecateFunc = function(_, func) { return func; };
Ember.deprecateFunc = function(...args) { return args[args.length - 1]; };
}

export default Ember;

0 comments on commit 68e7fee

Please sign in to comment.