Click here to see live demos.
| Directory | Description | Play with it |
|---|---|---|
| hello-world | "Hello world" style simple example. | here |
| sequential | Run bunch of statement sequentially, each statement could be asynchronous | here |
| if | Demo for IF...THEN...ELSE statement | here |
| for | Demo for FOR(initExpr, conditionExpr, stepExpr).DO(statements) statement | here |
| continue | Demo for CONTINUE statement | here |
| break | Demo for BREAK statement | here |
| try1 | Demo 1 for TRY(statements).CATCH(handler).FINALLY(statements) statement | here |
| try2 | Demo 1 for TRY(statements).CATCH(handler).FINALLY(statements) statement | here |
| parallel | Run bunch of statement in parallel, each statement could be asynchronous | here |
| ajax-01 | Run bunch of statement in parallel, each statement could be asynchronous | here |
First, make sure you have node 6.x installed, to check it, run
stonezhong@cloudstar:~$ node --version
v6.6.0Second, Make sure you set PATH properly
export PATH=./node_modules/.bin:$PATH
npm install
npm bin
npm run-script build