@@ -14,7 +14,7 @@
all : allow constructing generic type parameters
swf : added support for SWC files in -swf-lib
macro : added Context.onTypeNotFound callback for unresolved types
- js : no JS embed as default (use -D embedJs instead)
+ js : no JS embed as default (use -D embed-js instead)
2012-07-16: 2.10
java/cs : added two new targets (beta)
@@ -345,7 +345,7 @@ extern class JQuery implements ArrayAccess<Dom.HtmlDom> {
}
private static function __init__() : Void untyped {
- #if embedJs
+ #if embed_js
if( untyped __js__("typeof($) == 'undefined'") )
haxe.macro.Tools.includeFile("js/jquery-latest.min.js");
#end
@@ -11,7 +11,7 @@ extern class SWFObject {
function setAttribute( id : String, value : String ) : Void;
haxe.macro.Tools.includeFile("js/swfobject-1.5.js");
js.SWFObject = deconcept.SWFObject;