mirror of
https://github.com/gedoor/legado.git
synced 2024-07-04 23:36:56 +08:00
parent
38daea8487
commit
5126ec0cd2
|
@ -310,7 +310,7 @@ object RhinoScriptEngine : AbstractScriptEngine(), Invocable, Compilable {
|
||||||
override fun hasFeature(cx: Context, featureIndex: Int): Boolean {
|
override fun hasFeature(cx: Context, featureIndex: Int): Boolean {
|
||||||
@Suppress("UNUSED_EXPRESSION")
|
@Suppress("UNUSED_EXPRESSION")
|
||||||
return when (featureIndex) {
|
return when (featureIndex) {
|
||||||
//Context.FEATURE_ENABLE_JAVA_MAP_ACCESS -> true
|
Context.FEATURE_ENABLE_JAVA_MAP_ACCESS -> true
|
||||||
else -> super.hasFeature(cx, featureIndex)
|
else -> super.hasFeature(cx, featureIndex)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -415,4 +415,4 @@ object RhinoScriptEngine : AbstractScriptEngine(), Invocable, Compilable {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user