From d4da19e5d2ac789631589564be8589bdacacc3fb Mon Sep 17 00:00:00 2001 From: gedoor Date: Sun, 5 Sep 2021 18:00:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../io/legado/app/model/analyzeRule/AnalyzeRule.kt | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeRule.kt b/app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeRule.kt index 3407c3c0b..d088deac5 100644 --- a/app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeRule.kt +++ b/app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeRule.kt @@ -453,18 +453,6 @@ class AnalyzeRule( } else -> ruleStr } - if (mode != Mode.Js) { - //非js规则才需要继续处理 - initNonJsRule() - } - } - - /** - * 处理非js规则,js不做处理 - * js里面的{{}}规则可以留到下次处理 - * 一些url需要实时更新参数可以再内嵌套{{}},{{}}会访问时才处理 - */ - private fun initNonJsRule() { //分离put rule = splitPutRule(rule, putMap) //@get,{{ }}, 拆分