Nicolas Cannasse 13 anni fa
parent
commit
00edfdd39e
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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