Skip to content

Commit 0d906a2

Browse files
committed
Fixing up the demos
1 parent 7a35f1a commit 0d906a2

File tree

10 files changed

+13
-13
lines changed

10 files changed

+13
-13
lines changed

dist/basics/basic.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const ASSET_URL = 'http://127.0.0.1:8081';
1+
const ASSET_URL = 'http://pxscene-pixi-dev.herokuapp.com';
22
const PIXI_PATH = ASSET_URL + '/pixi/';
33
const BUNNY_IMAGE_PATH = ASSET_URL + '/assets/basic/bunny.png';
44

dist/basics/click.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const ASSET_URL = 'http://127.0.0.1:8081';
1+
const ASSET_URL = 'http://pxscene-pixi-dev.herokuapp.com';
22
const PIXI_PATH = ASSET_URL + '/pixi/';
33
const BUNNY_IMAGE_PATH = ASSET_URL + '/assets/basic/bunny.png';
44

dist/basics/container-pivot.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const ASSET_URL = 'http://127.0.0.1:8081';
1+
const ASSET_URL = 'http://pxscene-pixi-dev.herokuapp.com';
22
const PIXI_PATH = ASSET_URL + '/pixi/';
33
const BUNNY_IMAGE_PATH = ASSET_URL + '/assets/basic/bunny.png';
44

dist/basics/container.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const ASSET_URL = 'http://127.0.0.1:8081';
1+
const ASSET_URL = 'http://pxscene-pixi-dev.herokuapp.com';
22
const PIXI_PATH = ASSET_URL + '/pixi/';
33
const BUNNY_IMAGE_PATH = ASSET_URL + '/assets/basic/bunny.png';
44

dist/basics/graphics.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const ASSET_URL = 'http://127.0.0.1:8081';
1+
const ASSET_URL = 'http://pxscene-pixi-dev.herokuapp.com';
22
const PIXI_PATH = ASSET_URL + '/pixi/';
33

44
px.configImport({"pxFramework:": PIXI_PATH});

dist/basics/render-texture.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
const ASSET_URL = 'http://127.0.0.1:8081';
1+
const ASSET_URL = 'http://pxscene-pixi-dev.herokuapp.com';
22
const PIXI_PATH = ASSET_URL + '/pixi/';
33
const BUNNY_IMAGE_PATH = ASSET_URL + '/assets/basic/bunny.png';
44

5-
px.configImport({"pxFramework:": 'http://127.0.0.1:8000/'});
5+
px.configImport({"pxFramework:": PIXI_PATH});
66
px.import({ scene: 'px:scene.1.js',
77
pixi: 'pxFramework:pixi.js' }).then( function ready(imports) {
88

@@ -30,7 +30,7 @@ px.import({ scene: 'px:scene.1.js',
3030
sprite.x = 450;
3131
sprite.y = 60;
3232
app.stage.addChild(sprite);
33-
33+
3434
app.ticker.add(function() {
3535
app.renderer.render(container, rt);
3636
});

dist/basics/spritesheet.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const ASSET_URL = 'http://127.0.0.1:8081';
1+
const ASSET_URL = 'http://pxscene-pixi-dev.herokuapp.com';
22
const PIXI_PATH = ASSET_URL + '/pixi/';
33
const FIGHTER_IMAGE_PATH = ASSET_URL + '/assets/basic/fighter.json';
44

dist/basics/text.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const ASSET_URL = 'http://127.0.0.1:8081';
1+
const ASSET_URL = 'http://pxscene-pixi-dev.herokuapp.com';
22
const PIXI_PATH = ASSET_URL + '/pixi/';
33

44
px.configImport({"pxFramework:": PIXI_PATH });

dist/basics/textured-mesh.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const ASSET_URL = 'http://127.0.0.1:8081';
1+
const ASSET_URL = 'http://pxscene-pixi-dev.herokuapp.com';
22
const PIXI_PATH = ASSET_URL + '/pixi/';
33
const SNAKE_IMAGE_PATH = ASSET_URL + '/assets/basic/snake.png';
44

dist/basics/tiling-sprite.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
const ASSET_URL = 'http://127.0.0.1:8081';
1+
const ASSET_URL = 'http://pxscene-pixi-dev.herokuapp.com';
22
const PIXI_PATH = ASSET_URL + '/pixi/';
33
const IMAGE_PATH = ASSET_URL + '/assets/p2.jpeg';
44

5-
px.configImport({"pxFramework:": "http://127.0.0.1:8000/"});
5+
px.configImport({"pxFramework:": PIXI_PATH});
66
px.import({ scene: 'px:scene.1.js',
77
pixi: 'pxFramework:pixi.js' }).then( function ready(imports) {
88

0 commit comments

Comments
 (0)