Skip to content

Instantly share code, notes, and snippets.

@matbee-eth
Created March 10, 2015 01:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matbee-eth/c3d3c905a79b122f595b to your computer and use it in GitHub Desktop.
Save matbee-eth/c3d3c905a79b122f595b to your computer and use it in GitHub Desktop.
<html>
<head>
</head>
<body>
<script>
require('nw.gui').Window.get().evalNWBin(null, 'test.bin');
</script>
</body>
</html>
{
"name": "Test",
"description": "Test.",
"version": "0.1",
"main": "index.html",
"window": {
"toolbar": true,
"width": 660,
"height": 500
}
}
function test() {
console.log('test');
}
// Compile with nwjc test.js test.bin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment