Nicolas Cannasse 17 ani în urmă
părinte
comite
0c7d62ceb2
2 a modificat fișierele cu 5 adăugiri și 0 ștergeri
  1. 2 0
      std/haxe/ImportAll.hx
  2. 3 0
      std/haxe/remoting/ContextAll.hx

+ 2 - 0
std/haxe/ImportAll.hx

@@ -72,6 +72,8 @@ import haxe.io.Input;
 import haxe.io.Output;
 import haxe.io.Output;
 import haxe.io.StringInput;
 import haxe.io.StringInput;
 
 
+import haxe.remoting.Context;
+import haxe.remoting.ContextAll;
 import haxe.remoting.Connection;
 import haxe.remoting.Connection;
 import haxe.remoting.AsyncConnection;
 import haxe.remoting.AsyncConnection;
 import haxe.remoting.ExternalConnection;
 import haxe.remoting.ExternalConnection;

+ 3 - 0
std/haxe/remoting/ContextAll.hx

@@ -48,6 +48,9 @@ class ContextAll extends Context {
 		var f = path2.pop();
 		var f = path2.pop();
 		var o = flash.Lib.eval(path2.join("."));
 		var o = flash.Lib.eval(path2.join("."));
 		var m = Reflect.field(o,f);
 		var m = Reflect.field(o,f);
+		#else
+		var o = null;
+		var m = null;
 		#end
 		#end
 		if( m == null )
 		if( m == null )
 			return super.call(path,params);
 			return super.call(path,params);