@@ -1160,10 +1160,6 @@ let generate com =
end;
newline ctx;
List.iter (generate_type ctx) com.types;
- if has_feature ctx "haxe.Resource.content" then begin
- print ctx "js.Boot.__res = {}";
- newline ctx;
- end;
let rec chk_features e =
match e.eexpr with
| TClosure _ -> add_feature ctx "use.$bind"
@@ -235,12 +235,6 @@ class ExampleJSGenerator {
newline();
for( t in api.types )
genType(t);
- print("$_ = {}");
- newline();
- print("js.Boot.__res = {}");
- print("js.Boot.__init()");
for( e in inits ) {
print(api.generateStatement(e));