commit
280ad67e84
@ -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) {
|
||||
|
||||
@ -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) ->
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user