pull/32/head
kunfei 5 years ago
parent 029a73f09b
commit 784550853c
  1. 1
      app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeRule.kt

@ -516,6 +516,7 @@ class AnalyzeRule(private var book: BaseBook? = null) {
@Throws(Exception::class)
private fun evalJS(jsStr: String, result: Any?): Any {
val bindings = SimpleBindings()
bindings["analyzeRule"] = this
bindings["book"] = book
bindings["java"] = JsExtensions()
bindings["result"] = result

Loading…
Cancel
Save