优化
This commit is contained in:
1 parent
5a32bfd414
commit
cc9fbf4f8d
22 files changed
+350
-160
No files matched your search
@@ -51,6 +51,10 @@ abstract class AbstractScriptEngine(val bindings: Bindings? = null) : ScriptEngi
|
||||
return getBindings(100)?.get(key)
|
||||
}
|
||||
|
||||
override suspend fun evalSuspend(script: String, scope: Scriptable): Any? {
|
||||
return this.evalSuspend(StringReader(script), scope)
|
||||
}
|
||||
|
||||
override fun eval(script: String, scope: Scriptable): Any? {
|
||||
return this.eval(StringReader(script), scope)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user