A example of Differences of JavaScript contexts · rogerwang/node-webkit Wiki.
index.jsis Chrome context(Reference from index.html)node-context.jsis Node contexthello.jsis Node context
Difference between index.js and node-context.js ,hello.js is referenced from somewhere.
npm installnpm start- Fork it!
- Create your feature branch:
git checkout -b my-new-feature - Commit your changes:
git commit -am 'Add some feature' - Push to the branch:
git push origin my-new-feature - Submit a pull request :D
MIT