pull/414/head
gedoor 4 years ago
parent cb4cb26f58
commit 6ba5b39296
  1. 5
      app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeUrl.kt

@ -256,10 +256,7 @@ class AnalyzeUrl(
/**
* 执行JS
*/
private fun evalJS(
jsStr: String,
result: Any? = null
): Any? {
private fun evalJS(jsStr: String, result: Any? = null): Any? {
val bindings = SimpleBindings()
bindings["java"] = this
bindings["page"] = page

Loading…
Cancel
Save