优化
This commit is contained in:
1 parent
b5b59826b7
commit
e34df5aba5
1 file changed
+1
-1
@@ -44,7 +44,7 @@ class RhinoTopLevel internal constructor(cx: Context?, val scriptEngine: RhinoSc
|
|||||||
ImporterTopLevel(cx, System.getSecurityManager() != null) {
|
ImporterTopLevel(cx, System.getSecurityManager() != null) {
|
||||||
|
|
||||||
init {
|
init {
|
||||||
LazilyLoadedCtor(this, "JSAdapter", "com.sun.script.javascript.JSAdapter", false)
|
LazilyLoadedCtor(this, "JSAdapter", "com.script.rhino.JSAdapter", false)
|
||||||
JavaAdapter.init(cx, this, false)
|
JavaAdapter.init(cx, this, false)
|
||||||
val names = arrayOf("bindings", "scope", "sync")
|
val names = arrayOf("bindings", "scope", "sync")
|
||||||
defineFunctionProperties(names, RhinoTopLevel::class.java, 2)
|
defineFunctionProperties(names, RhinoTopLevel::class.java, 2)
|
||||||
|
|||||||
Reference in new issue
Block a user