diff options
Diffstat (limited to 'Godeps/_workspace/src/github.com/robertkrimen/otto/otto_.go')
-rw-r--r-- | Godeps/_workspace/src/github.com/robertkrimen/otto/otto_.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Godeps/_workspace/src/github.com/robertkrimen/otto/otto_.go b/Godeps/_workspace/src/github.com/robertkrimen/otto/otto_.go index e053b54e2..304a83150 100644 --- a/Godeps/_workspace/src/github.com/robertkrimen/otto/otto_.go +++ b/Godeps/_workspace/src/github.com/robertkrimen/otto/otto_.go @@ -20,12 +20,12 @@ func (self *_runtime) toValueArray(arguments ...interface{}) []Value { if valueArray, ok := arguments[0].([]Value); ok { return valueArray } - return []Value{toValue(arguments[0])} + return []Value{self.toValue(arguments[0])} } valueArray := make([]Value, length) for index, value := range arguments { - valueArray[index] = toValue(value) + valueArray[index] = self.toValue(value) } return valueArray |