Skip to content

Commit

Permalink
Update watch_key.js
Browse files Browse the repository at this point in the history
  • Loading branch information
locks authored Oct 5, 2017
1 parent 2ad6f04 commit 2c29b5d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/ember-metal/lib/watch_key.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ export function watchKey(obj, keyName, _meta) {


if (MANDATORY_SETTER) {
const hasOwnProperty = (obj, key) => Object.prototype.hasOwnProperty.call(obj, key);
const propertyIsEnumerable = (obj, key) => Object.prototype.propertyIsEnumerable.call(obj, key);
let hasOwnProperty = (obj, key) => Object.prototype.hasOwnProperty.call(obj, key);
let propertyIsEnumerable = (obj, key) => Object.prototype.propertyIsEnumerable.call(obj, key);

// Future traveler, although this code looks scary. It merely exists in
// development to aid in development asertions. Production builds of
Expand Down

0 comments on commit 2c29b5d

Please sign in to comment.