Revert "console.log.bind"

This reverts commit df9af7f162af058640c18f83556f3eaf61558289.
This commit is contained in:
Nicolas Stepien 2011-12-11 17:50:48 +01:00
parent 7aa148e614
commit 3c889374fb
2 changed files with 9 additions and 2 deletions

View File

@ -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) {

View File

@ -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