pull/1/head
d11e9 9 years ago
parent 2274586cb3
commit 65fb2a47f4
  1. 2
      README.md

@ -32,7 +32,7 @@ Note that all input files that are imported have to be supplied, the compiler wi
###Using a legacy version ###Using a legacy version
In order to allow compiling contracts using a specific version of solidity, the `solc.useVersion` method is available. this returns a new solc object using the version provided. **Note**: version strings must match the version substring of the files availble in `/bin/soljson-*.js`. See below for an example. In order to allow compiling contracts using a specific version of solidity, the `solc.useVersion` method is available. This returns a new solc object using the version provided. **Note**: version strings must match the version substring of the files availble in `/bin/soljson-*.js`. See below for an example.
var solc = require('solc'); var solc = require('solc');
// by default the latest version is used // by default the latest version is used

Loading…
Cancel
Save