update
This commit is contained in:
@@ -215,6 +215,13 @@ func init123() {
|
||||
}
|
||||
return otto.Value{}
|
||||
})
|
||||
vm.Set("cancall", func(name otto.Value) interface{} {
|
||||
key := name.String()
|
||||
if _, ok := OttoFuncs[key]; ok {
|
||||
return otto.TrueValue()
|
||||
}
|
||||
return otto.FalseValue()
|
||||
})
|
||||
vm.Set("Delete", func() {
|
||||
s.Delete()
|
||||
})
|
||||
|
||||
+193
-231
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user