Revert "console.log.bind"
This reverts commit df9af7f162af058640c18f83556f3eaf61558289.
This commit is contained in:
parent
7aa148e614
commit
3c889374fb
@ -171,7 +171,11 @@
|
||||
}
|
||||
};
|
||||
|
||||
log = console.log.bind(console);
|
||||
if (typeof console !== "undefined" && console !== null) {
|
||||
log = function(arg) {
|
||||
return console.log(arg);
|
||||
};
|
||||
}
|
||||
|
||||
if (!Object.keys) {
|
||||
Object.keys = function(o) {
|
||||
|
||||
@ -99,7 +99,10 @@ config =
|
||||
'Interval': 30
|
||||
|
||||
# XXX chrome can't into `{log} = console`
|
||||
log = console.log.bind console
|
||||
if console?
|
||||
# XXX scriptish - console.log.apply is not a function
|
||||
log = (arg) ->
|
||||
console.log arg
|
||||
|
||||
# XXX opera cannot into Object.keys
|
||||
if not Object.keys
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user