Skip to content

Commit

Permalink
remove __proto__ set as it pollutes enumeration..
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanpenner committed Aug 18, 2014
1 parent d1014c2 commit 4367529
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/ember-metal/lib/platform.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,6 @@ if (!(Object.create && !Object.create(null).hasOwnProperty)) {
delete empty.toLocaleString;
delete empty.toString;
delete empty.valueOf;
empty.__proto__ = null;

function Empty() {}
Empty.prototype = empty;
Expand Down

0 comments on commit 4367529

Please sign in to comment.