pull/32/head
kunfei 5 years ago
parent 658cbe9995
commit 627ce6c164
  1. 10
      app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeUrl.kt

@ -186,16 +186,6 @@ class AnalyzeUrl(
}
}
/**
* 执行JS
*/
@Throws(Exception::class)
private fun evalJS(jsStr: String, result: Any): Any {
val bindings = SimpleBindings()
bindings["result"] = result
return SCRIPT_ENGINE.eval(jsStr, bindings)
}
enum class Method {
GET, POST
}

Loading…
Cancel
Save