Sfoglia il codice sorgente

make sure package is created

Nicolas Cannasse 13 anni fa
parent
commit
79d6a23515
2 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 1 0
      std/js/SWFObject.hx
  2. 1 0
      std/js/XMLHttpRequest.hx

+ 1 - 0
std/js/SWFObject.hx

@@ -1,5 +1,6 @@
 package js;
 
+@:initPackage
 extern class SWFObject {
 
 	function new( swf : String, id : String, width : Int, height : Int, ver : String, color : String /*...*/ ) : Void;

+ 1 - 0
std/js/XMLHttpRequest.hx

@@ -24,6 +24,7 @@
  */
 package js;
 
+@:initPackage
 extern class XMLHttpRequest {
 
 	var onreadystatechange : Void -> Void;