Nicolas Cannasse %!s(int64=13) %!d(string=hai) anos
pai
achega
00edfdd39e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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