ソースを参照

move new SWFObject extern to js.swfobject package

Andy Li 10 年 前
コミット
dad1a9a3d8
3 ファイル変更3 行追加3 行削除
  1. 1 1
      extra/CHANGES.txt
  2. 2 2
      std/js/swfobject/SWFObject.hx
  3. 0 0
      std/js/swfobject/swfobject.js

+ 1 - 1
extra/CHANGES.txt

@@ -7,7 +7,7 @@
 	all : support (expr is Type) with mandatory parentheses (#2976)
 	all : allowed passing package dot-paths on command line (#4227)
 	js : introduced new jQuery extern (js.jquery.*) for jQuery 1.11.3 / 2.1.4 (#4377)
-	js : upgraded js.SWFObject from 1.5 to 2.3.20130521 (#4451)
+	js : introduced new SWFObject extern (js.swfobject.SWFObject) for SWFObject 2.3.20130521 (#4451)
 
 	Bugfixes:
 

+ 2 - 2
std/js/SWFObject.hx → std/js/swfobject/SWFObject.hx

@@ -19,7 +19,7 @@
  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  * DEALINGS IN THE SOFTWARE.
  */
-package js;
+package js.swfobject;
 
 import js.html.*;
 import haxe.extern.*;
@@ -128,7 +128,7 @@ extern class SWFObject {
 
 	private static function __init__():Void {
 		#if embed_js
-		haxe.macro.Compiler.includeFile("js/swfobject.js");
+		haxe.macro.Compiler.includeFile("js/swfobject/swfobject.js");
 		#end
 	}
 }

+ 0 - 0
std/js/swfobject.js → std/js/swfobject/swfobject.js