Bladeren bron

allowed no_js_remoting

Nicolas Cannasse 19 jaren geleden
bovenliggende
commit
da49d9692e
1 gewijzigde bestanden met toevoegingen van 4 en 0 verwijderingen
  1. 4 0
      std/haxe/remoting/Connection.hx

+ 4 - 0
std/haxe/remoting/Connection.hx

@@ -129,7 +129,11 @@ class Connection implements Dynamic<Connection> {
 
 	#if flash
 
+	#if no_js_remoting
+	public static function init() {
+	#else true
 	static function __init__() {
+	#end
 		#if flash9
 		flash.external.ExternalInterface.addCallback("remotingCall",doCall);
 		#else true