commit
280ad67e84
@ -173,17 +173,6 @@
|
|||||||
|
|
||||||
log = typeof (_base = console.log).bind === "function" ? _base.bind(console) : void 0;
|
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 = {};
|
conf = {};
|
||||||
|
|
||||||
(flatten = function(parent, obj) {
|
(flatten = function(parent, obj) {
|
||||||
|
|||||||
@ -103,11 +103,6 @@ config =
|
|||||||
# XXX GreaseMonkey can't into console.log.bind
|
# XXX GreaseMonkey can't into console.log.bind
|
||||||
log = console.log.bind? console
|
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
|
# flatten the config
|
||||||
conf = {}
|
conf = {}
|
||||||
(flatten = (parent, obj) ->
|
(flatten = (parent, obj) ->
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user