Skip to content

Instantly share code, notes, and snippets.

@paologf
Created February 6, 2014 09:27
Show Gist options
  • Save paologf/8841018 to your computer and use it in GitHub Desktop.
Save paologf/8841018 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html>
<head>
<title>Hello World!</title>
</head>
<body>
<h1>Hello World!</h1>
We are using node.js <script>document.write(process.version)</script>.
<script>
require('nw.gui').Window.get().showDevTools();
try {
var restify = require('restify');
}
catch(e) {console.error('1111',e)}
</script>
</body>
</html>
{
"name": "nw-demo",
"main": "index.html"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment