From 08f8aed5215d4ba861d4675f91aabb9bffa5997f Mon Sep 17 00:00:00 2001 From: Jeff Wagner Date: Tue, 24 Jan 2012 14:19:41 -0800 Subject: [PATCH] define console for IE9; updated to fix lint errors and comment --- web/compatibility.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/compatibility.js b/web/compatibility.js index 7addbe3e2..b22153516 100644 --- a/web/compatibility.js +++ b/web/compatibility.js @@ -225,9 +225,9 @@ }); })(); -//IE9 console +// Check console compatability (function checkConsoleCompatibility() { - if (typeof console == "undefined") { + if (typeof console == 'undefined') { console = {log: function() {}}; } })();