From 351d6b0d44d5efa78edfa0729972e43133bcf88c Mon Sep 17 00:00:00 2001 From: obscuren Date: Thu, 7 May 2015 19:56:44 +0200 Subject: jsre, cmd/geth: updated web3.js and altered settimeout --- cmd/geth/js.go | 6 ------ 1 file changed, 6 deletions(-) (limited to 'cmd') diff --git a/cmd/geth/js.go b/cmd/geth/js.go index c9839dabb..9b0ab0a1b 100644 --- a/cmd/geth/js.go +++ b/cmd/geth/js.go @@ -117,12 +117,6 @@ func (js *jsre) apiBindings(f xeth.Frontend) { utils.Fatalf("Error loading bignumber.js: %v", err) } - // we need to declare a dummy setTimeout. Otto does not support it - _, err = js.re.Eval("setTimeout = function(cb, delay) {};") - if err != nil { - utils.Fatalf("Error defining setTimeout: %v", err) - } - err = js.re.Compile("ethereum.js", re.Ethereum_JS) if err != nil { utils.Fatalf("Error loading ethereum.js: %v", err) -- cgit