1
0
Prechádzať zdrojové kódy

amberc.js: update documentation

Manfred Kröhnert 11 rokov pred
rodič
commit
d69ba7c719
1 zmenil súbory, kde vykonal 4 pridanie a 2 odobranie
  1. 4 2
      cli/support/amberc.js

+ 4 - 2
cli/support/amberc.js

@@ -2,8 +2,10 @@
  * This is a "compiler" for Amber code.
  * Put the following code into compiler.js:
  *     var amberc = require('amberc');
- *     var compiler = new amberc.Compiler('path/to/amber', ['/optional/path/to/compiler.jar]);
- *     compiler.main();
+ *     var compiler = new amberc.Compiler('path/to/amber');
+ *     var options = amberc.createDefaults();
+ *     // edit options entries
+ *     compiler.main(options);
  *
  * Execute 'node compiler.js' without arguments or with -h / --help for help.
  */