mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-03-13 16:33:28 -04:00
No need to call has(), since __proto__ is hidden using define().
This commit is contained in:
parent
8e1c030230
commit
a0e120ac5c
1 changed files with 1 additions and 1 deletions
2
lib/bootstrap.js
vendored
2
lib/bootstrap.js
vendored
|
@ -39,7 +39,7 @@ var Base = this.Base = new function() {
|
|||
},
|
||||
forIn = function(iter, bind) {
|
||||
for (var i in this)
|
||||
if (has.call(this, i))
|
||||
if (this.hasOwnProperty(i))
|
||||
iter.call(bind, this[i], i, this);
|
||||
},
|
||||
_define = Object.defineProperty,
|
||||
|
|
Loading…
Reference in a new issue