Nicolas Cannasse пре 13 година
родитељ
комит
00edfdd39e
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      std/haxe/JSON.hx

+ 1 - 1
std/haxe/JSON.hx

@@ -165,7 +165,7 @@ class JSON {
 	#if !haxeJSON
 		#if js
 		static function __init__() untyped {
-			if( 'typeof(JSON)') != __js__('undefined') )
+			if( __js__('typeof(JSON)') != 'undefined' )
 				JSON = __js__('JSON');
 		}
 		#end