|
|
@@ -84,7 +84,6 @@ const my_handler = {
|
|
84
|
84
|
} else {
|
|
85
|
85
|
methods = Object.keys(function_defs)
|
|
86
|
86
|
if (methods.includes(prop)) {
|
|
87
|
|
- //return (function () { eval(function_defs[prop].replace(/\$(\d+)/g, (m, n) => JSON.stringify(arguments[(+n-1)]))) })
|
|
88
|
87
|
return function_defs[prop]
|
|
89
|
88
|
} else {
|
|
90
|
89
|
console.error("Undefined function call! No such function: ", prop)
|