Procházet zdrojové kódy

async is not defined in haxe.Http on nodejs (#5683)

Kevin Leung před 9 roky
rodič
revize
8132228526
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      std/haxe/remoting/HttpConnection.hx

+ 1 - 1
std/haxe/remoting/HttpConnection.hx

@@ -45,7 +45,7 @@ class HttpConnection implements Connection implements Dynamic<Connection> {
 	public function call( params : Array<Dynamic> ) : Dynamic {
 		var data = null;
 		var h = new haxe.Http(__url);
-		#if js
+		#if (js && !nodejs)
 			h.async = false;
 		#end
 		#if (neko && no_remoting_shutdown)