Browse Source

fixed remoting with js-modern + DCE

Nicolas Cannasse 13 years ago
parent
commit
60a1f50e0a
1 changed files with 2 additions and 0 deletions
  1. 2 0
      std/haxe/remoting/ExternalConnection.hx

+ 2 - 0
std/haxe/remoting/ExternalConnection.hx

@@ -27,6 +27,7 @@ package haxe.remoting;
 /**
 	Synchronous communications between Flash and Javascript.
 **/
+@:expose
 class ExternalConnection implements Connection, implements Dynamic<Connection> {
 
 	var __data : { name : String, ctx : Context, #if js flash : String #end };
@@ -95,6 +96,7 @@ class ExternalConnection implements Connection, implements Dynamic<Connection> {
 
 	static var connections = new Hash<ExternalConnection>();
 
+	@:keep
 	static function doCall( name : String, path : String, params : String ) : String {
 		try {
 			var cnx = connections.get(name);