Browse Source

update includeFile path for swfobject and jquery fixed issue #1356)

Simon Krajewski 12 years ago
parent
commit
b7773c7823
2 changed files with 2 additions and 2 deletions
  1. 1 1
      std/js/JQuery.hx
  2. 1 1
      std/js/SWFObject.hx

+ 1 - 1
std/js/JQuery.hx

@@ -372,7 +372,7 @@ extern class JQuery implements ArrayAccess<Element> {
 	private static function __init__() : Void untyped {
 		#if embed_js
 		if( untyped __js__("typeof($) == 'undefined'") )
-			haxe.macro.Tools.includeFile("js/jquery-latest.min.js");
+			haxe.macro.Compiler.includeFile("js/jquery-latest.min.js");
 		#end
 		var q : Dynamic = window.jQuery;
 		js.JQuery = q;

+ 1 - 1
std/js/SWFObject.hx

@@ -33,7 +33,7 @@ extern class SWFObject {
 
 	private static function __init__() : Void untyped {
 		#if embed_js
-		haxe.macro.Tools.includeFile("js/swfobject-1.5.js");
+		haxe.macro.Compiler.includeFile("js/swfobject-1.5.js");
 		#end
 		js.SWFObject = deconcept.SWFObject;
 	}