Bläddra i källkod

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

Kevin Leung 9 år sedan
förälder
incheckning
8132228526
1 ändrade filer med 1 tillägg och 1 borttagningar
  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)