Update README.md

Better style with Code Usage in README.md
This commit is contained in:
Fritz Lin
2014-05-28 22:02:28 +08:00
parent 1d47091304
commit afc7140b6b
+7 -2
View File
@@ -52,13 +52,18 @@ Options:
````
### Code usage
### Code Usage
````javascript
var nexe = require('nexe');
nexe.compile({ input: 'input.js', output: 'path/to/bin', runtime: '0.8.15', flags: true } function() {
nexe.compile({
input: 'input.js',
output: 'path/to/bin',
runtime: '0.8.15',
flags: true
}, function(err) {
});