0
0
Fork 0
mirror of https://github.com/liabru/matter-js.git synced 2025-02-07 19:06:26 -05:00

makes grunt connect file stay alive via keepalive : true and adds a reference to the matter.js file that actually exists in lib (it was calling an edge version that isn't included in demo/js/lib/ ; ). Now the demo works.

This commit is contained in:
andrew-luhring 2014-05-10 09:16:20 -05:00
parent 3043baa53c
commit bef38e6303
2 changed files with 3 additions and 2 deletions

View file

@ -64,7 +64,8 @@ module.exports = function(grunt) {
options: {
port: 9000,
open: 'http://localhost:9000/demo/dev.html',
livereload: 9001
livereload: 9001,
keepalive: true
}
}
},

View file

@ -10,7 +10,7 @@
<script type="text/javascript" src="./js/lib/pixi.dev.js"></script>
<!-- matter lib edge master version -->
<script type="text/javascript" src="./js/lib/matter-dev.js"></script>
<script type="text/javascript" src="./js/lib/matter-0.8.0.js"></script>
<!-- only required if using MatterTools -->
<link rel="stylesheet" href="./js/lib/matter-tools/matter-tools.css" type="text/css">