From 4e5bf64749e182cf9f4d27985f22f6ff6efdeb6f Mon Sep 17 00:00:00 2001 From: Tj Holowaychuk Date: Mon, 15 Nov 2010 08:44:17 -0800 Subject: [PATCH] LOG -> log --- test/public/app.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/test/public/app.js b/test/public/app.js index b0361c7..252270b 100644 --- a/test/public/app.js +++ b/test/public/app.js @@ -1,5 +1,6 @@ -function LOG() { - if (window.console) console.log(LOG.arguments); + +function log() { + if (window.console) console.log.apply(this, arguments); } window.onload = function(){ @@ -55,7 +56,7 @@ function runTest(name, canvas, dest) { try { fn(canvas.getContext('2d'), function(){}); } catch (err) { - LOG(err); + log(err); } canvas.title += ' (rendered in ' + (new Date - start) + 'ms)'; renderOnServer(name, canvas, function(res){