Skip to content

Commit

Permalink
build into dist directory
Browse files Browse the repository at this point in the history
  • Loading branch information
flyover committed Jul 3, 2018
1 parent 54d44f1 commit 0a5a6a0
Show file tree
Hide file tree
Showing 19 changed files with 7,567 additions and 4,711 deletions.
9 changes: 5 additions & 4 deletions demo/atlas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ export class Site {
public original_w: number = 0;
public original_h: number = 0;
public index: number = -1;
constructor(page: Page) {
this.page = page;
}
}

export class Data {
Expand Down Expand Up @@ -116,8 +119,7 @@ export class Data {
site.original_w = site.original_w || site.w;
site.original_h = site.original_h || site.h;
}
site = new Site();
site.page = page;
site = new Site(page);
this.sites[line] = site;
}
}
Expand Down Expand Up @@ -169,8 +171,7 @@ export class Data {
}
Object.keys(tps_json.frames || {}).forEach((key: string): void => {
const frame: any = tps_json.frames[key];
const site: Site = this.sites[key] = new Site();
site.page = page;
const site: Site = this.sites[key] = new Site(page);
site.x = frame.frame.x;
site.y = frame.frame.y;
site.w = frame.frame.w;
Expand Down
14 changes: 7 additions & 7 deletions demo/atlas.js → demo/dist/demo/atlas.js

Large diffs are not rendered by default.

9 changes: 5 additions & 4 deletions demo/main.js → demo/dist/demo/main.js

Large diffs are not rendered by default.

722 changes: 722 additions & 0 deletions demo/dist/demo/render-ctx2d.js

Large diffs are not rendered by default.

Loading

0 comments on commit 0a5a6a0

Please sign in to comment.