Skip to content

Commit

Permalink
another fix for IE
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Pfeiffer committed Jun 14, 2011
1 parent 35949ef commit ed86376
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ function copy (src) {
dst = new String(src);
}
else {
dst = Object.create(src.__proto__);
dst = Object.create(Object.getPrototypeOf(src));
}

Object.keys(src).forEach(function (key) {
Expand Down

0 comments on commit ed86376

Please sign in to comment.