Skip to content

Commit

Permalink
Merge pull request #71 from jpadilla/patch-1
Browse files Browse the repository at this point in the history
Ember.keys is deprecated in favor of Object.keys
  • Loading branch information
rwjblue committed Jul 2, 2015
2 parents fbee787 + c353ef2 commit f3f653a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ember-test-helpers/test-module.js
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ export default Klass.extend({
this.cache = this.cache || {};
this.cachedCalls = this.cachedCalls || {};

var keys = Ember.keys(callbacks);
var keys = (Object.keys || Ember.keys)(callbacks);

for (var i = 0, l = keys.length; i < l; i++) {
(function(key) {
Expand Down

0 comments on commit f3f653a

Please sign in to comment.