diff --git a/4chan_x.user.js b/4chan_x.user.js index cda86656f..2ea4bdef7 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -173,17 +173,6 @@ log = typeof (_base = console.log).bind === "function" ? _base.bind(console) : void 0; - if (!Object.keys) { - Object.keys = function(o) { - var key, _results; - _results = []; - for (key in o) { - _results.push(key); - } - return _results; - }; - } - conf = {}; (flatten = function(parent, obj) { diff --git a/script.coffee b/script.coffee index 58e19d543..0996d7256 100644 --- a/script.coffee +++ b/script.coffee @@ -103,11 +103,6 @@ config = # XXX GreaseMonkey can't into console.log.bind log = console.log.bind? console -# XXX opera cannot into Object.keys -if not Object.keys - Object.keys = (o) -> - key for key of o - # flatten the config conf = {} (flatten = (parent, obj) ->