armen_asriyan (armen_asriyan) wrote in changelog,
armen_asriyan
armen_asriyan
changelog

[livejournal] r23287: 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-12 15:22:24 UTC (rev 23286)
+++ trunk/htdocs/js/basic.js	2012-11-13 08:29:57 UTC (rev 23287)
@@ -332,7 +332,7 @@
 	return threshold;
 };
 
-if (typeof console !== undefined) {
+if (typeof console !== 'undefined') {
 	LJ.console = console;
 }
 

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