armen_asriyan (armen_asriyan) wrote in changelog,
armen_asriyan
armen_asriyan
changelog

[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 = {};

Tags: aasriyan, armen_asriyan, js, livejournal
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments