Skip to content

Commit

Permalink
removed __res + fixed ExampleJSGenerator
Browse files Browse the repository at this point in the history
  • Loading branch information
ncannasse committed Jun 4, 2012
1 parent 95a2822 commit d108272
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
4 changes: 0 additions & 4 deletions genjs.ml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
6 changes: 0 additions & 6 deletions std/haxe/macro/ExampleJSGenerator.hx
Original file line number Diff line number Diff line change
Expand Up @@ -235,12 +235,6 @@ class ExampleJSGenerator {
newline();
for( t in api.types )
genType(t);
print("$_ = {}");
newline();
print("js.Boot.__res = {}");
newline();
print("js.Boot.__init()");
newline();
for( e in inits ) {
print(api.generateStatement(e));
newline();
Expand Down

0 comments on commit d108272

Please sign in to comment.