[livejournal] r23290: LJSUP-14206: es5-shim

Committer: aasriyan
LJSUP-14206: es5-shim

U   trunk/htdocs/js/basic.js
Modified: trunk/htdocs/js/basic.js
===================================================================
--- trunk/htdocs/js/basic.js	2012-11-13 08:49:54 UTC (rev 23289)
+++ trunk/htdocs/js/basic.js	2012-11-13 09:09:29 UTC (rev 23290)
@@ -334,6 +334,8 @@
 
 if (typeof console !== 'undefined') {
 	LJ.console = console;
+} else {
+	LJ.console = { log: function () {}, warn: function () {}, error: function () {} };
 }
 
 LJ._const = {};