Browse Source

make sure package is created

Nicolas Cannasse 13 years ago
parent
commit
79d6a23515
2 changed files with 2 additions and 0 deletions
  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;