Skip to content

Commit 1d0e54e

Browse files
committed
Remove __defineGetter__ check since it isn't used any longer.
1 parent f6f9f84 commit 1d0e54e

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

docs/parse.js

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -138,16 +138,6 @@ function inspect(object) {
138138
}
139139

140140

141-
var errors = [];
142-
if (!("__defineGetter__" in {})) {
143-
errors.push("Object.prototype.__defineGetter__ isn’t supported");
144-
}
145-
if (errors.length) {
146-
byId("message").innerHTML = errors.join("<br>");
147-
document.body.className = "error";
148-
throw errors.join("\n\n");
149-
}
150-
151141
var style = byId("style");
152142
var output = byId("output");
153143
var serialized = byId("serialized");

0 commit comments

Comments
 (0)