Nicolas Cannasse 13 years ago
parent
commit
d02477d845
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

@@ -345,7 +345,7 @@ extern class JQuery implements ArrayAccess<Dom.HtmlDom> {
 	}
 
 	private static function __init__() : Void untyped {
-		#if !embedJs
+		#if embedJs
 		if( untyped __js__("typeof($) == 'undefined'") )
 			haxe.macro.Tools.includeFile("js/jquery-latest.min.js");
 		#end

+ 1 - 1
std/js/SWFObject.hx

@@ -11,7 +11,7 @@ extern class SWFObject {
 	function setAttribute( id : String, value : String ) : Void;
 
 	private static function __init__() : Void untyped {
-		#if !embedJs
+		#if embedJs
 		haxe.macro.Tools.includeFile("js/swfobject-1.5.js");
 		#end
 		js.SWFObject = deconcept.SWFObject;