소스 검색

fixed remoting with js-modern + DCE

Nicolas Cannasse 13 년 전
부모
커밋
60a1f50e0a
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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);