define console for IE9 when debugging tools is not opened

This commit is contained in:
Jeff Wagner 2012-01-24 12:19:52 -08:00
parent 67769f3741
commit 19622406da

View File

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