-
Notifications
You must be signed in to change notification settings - Fork 17
Build instruction
chinhodado edited this page Sep 2, 2014
·
4 revisions
First, install node.js
and tsc
(the TypeScript compiler)
Then just compile:
tsc ./src/battleModel.ts --out compiled.js --removeComments --target ES5
Close all running chrome instances first. Then start Chrome executable with a command line flag:
chrome --allow-file-access-from-files
On Windows, the easiest is probably to create a special shortcut which has added flag (right-click on shortcut -> properties -> target).
Go to about:config
Find security.fileuri.strict_origin_policy
parameter
Set it to false