|
|
@ -24,12 +24,7 @@ |
|
|
|
|
|
|
|
|
|
|
|
var multi = function(func) { return func.toString().match(/[^]*\/\*([^]*)\*\/\}$/)[1]; } |
|
|
|
var multi = function(func) { return func.toString().match(/[^]*\/\*([^]*)\*\/\}$/)[1]; } |
|
|
|
|
|
|
|
|
|
|
|
var BALLOT_EXAMPLE = multi(function(){/* |
|
|
|
var BALLOT_EXAMPLE = multi(function(){/*contract Ballot { |
|
|
|
|
|
|
|
|
|
|
|
// create a new file called 'test' :)
|
|
|
|
|
|
|
|
import "test"; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
contract Ballot { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct Voter { |
|
|
|
struct Voter { |
|
|
|
uint weight; |
|
|
|
uint weight; |
|
|
|