Commit 1e325dd0 authored by chriseth's avatar chriseth

Removed space.

parent 8b9a212d
...@@ -22,7 +22,7 @@ Starting from version 0.1.6, multiple files are supported with automatic import ...@@ -22,7 +22,7 @@ Starting from version 0.1.6, multiple files are supported with automatic import
var solc = require('solc'); var solc = require('solc');
var input = { var input = {
'lib.sol': 'library L { function f() returns (uint) { return 7; } }', 'lib.sol': 'library L { function f() returns (uint) { return 7; } }',
'cont.sol': 'import "lib.sol"; contract x { function g() { L.f(); } }' 'cont.sol': 'import "lib.sol"; contract x { function g() { L.f(); } }'
}; };
var output = solc.compile({sources: input}, 1); var output = solc.compile({sources: input}, 1);
for (var contractName in output.contracts) for (var contractName in output.contracts)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment