Permalink
Browse files

Getter/setter typo.

  • Loading branch information...
1 parent 65c091c commit 19aba9ab6644fb421379ddfc5ea282d563386f61 @eligrey committed Jun 21, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 xccessors-standard.js
View
@@ -26,7 +26,7 @@
defineGetter = ObjectProto.__defineGetter__,
defineSetter = ObjectProto.__defineSetter__,
lookupGetter = ObjectProto.__lookupGetter__,
- lookupSetter = ObjectProto.__lookupGetter__,
+ lookupSetter = ObjectProto.__lookupSetter__,
hasOwnProp = ObjectProto.hasOwnProperty;
if (defineGetter && defineSetter && lookupGetter && lookupSetter) {
@@ -100,7 +100,7 @@
}
// there is an accessor, remove descriptor.writable;
- // populate descriptor.get and descriptor.set
+ // populate descriptor.get and descriptor.set (IE's behavior)
delete descriptor.writable;
descriptor.get = descriptor.set = undefined;

0 comments on commit 19aba9a

Please sign in to comment.