Merge pull request #1123 from jwagner79/ie9console

define console for IE9 when debugging tools is not opened
This commit is contained in:
notmasteryet 2012-01-24 16:31:38 -08:00
commit fbe3b51a4d

View File

@ -224,3 +224,10 @@
}
});
})();
// Check console compatability
(function checkConsoleCompatibility() {
if (typeof console == 'undefined') {
console = {log: function() {}};
}
})();