Pārlūkot izejas kodu

move new SWFObject extern to js.swfobject package

Andy Li 10 gadi atpakaļ
vecāks
revīzija
dad1a9a3d8

+ 1 - 1
extra/CHANGES.txt

@@ -7,7 +7,7 @@
 	all : support (expr is Type) with mandatory parentheses (#2976)
 	all : support (expr is Type) with mandatory parentheses (#2976)
 	all : allowed passing package dot-paths on command line (#4227)
 	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 : 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:
 	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
  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  * DEALINGS IN THE SOFTWARE.
  * DEALINGS IN THE SOFTWARE.
  */
  */
-package js;
+package js.swfobject;
 
 
 import js.html.*;
 import js.html.*;
 import haxe.extern.*;
 import haxe.extern.*;
@@ -128,7 +128,7 @@ extern class SWFObject {
 
 
 	private static function __init__():Void {
 	private static function __init__():Void {
 		#if embed_js
 		#if embed_js
-		haxe.macro.Compiler.includeFile("js/swfobject.js");
+		haxe.macro.Compiler.includeFile("js/swfobject/swfobject.js");
 		#end
 		#end
 	}
 	}
 }
 }

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