From 627ce6c164295df78bd1b9492dcbf05ad9c2a296 Mon Sep 17 00:00:00 2001 From: kunfei Date: Fri, 6 Sep 2019 15:53:15 +0800 Subject: [PATCH] up --- .../java/io/legado/app/model/analyzeRule/AnalyzeUrl.kt | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeUrl.kt b/app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeUrl.kt index 49c4f92b3..080345ab1 100644 --- a/app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeUrl.kt +++ b/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 }