Merge pull request #536 from zsfelfoldi/develop

using robertkrimen/otto, godeps updated
This commit is contained in:
Jeffrey Wilcke
2015-03-22 21:45:56 +01:00
144 changed files with 4987 additions and 13117 deletions

View File

@ -2,7 +2,7 @@ package jsre
import (
"fmt"
"github.com/obscuren/otto"
"github.com/robertkrimen/otto"
"io/ioutil"
"github.com/ethereum/go-ethereum/common"

View File

@ -1,7 +1,7 @@
package jsre
import (
"github.com/obscuren/otto"
"github.com/robertkrimen/otto"
"testing"
"github.com/ethereum/go-ethereum/common"
@ -50,7 +50,7 @@ func TestBind(t *testing.T) {
jsre.Bind("no", &testNativeObjectBinding{jsre.ToVal})
val, err := jsre.Run(`no.testMethod("testMsg")`)
val, err := jsre.Run(`no.TestMethod("testMsg")`)
if err != nil {
t.Errorf("expected no error, got %v", err)
}