♻️ 书源 id 去掉 ext. 前缀,沿用旧内置源数据
Co-authored-by: Copilot <[email protected]>
This commit is contained in:
1 parent
1698ed8412
commit
c029847ffd
10 files changed
+23
-23
No files matched your search
@@ -43,7 +43,7 @@ function source:loadTocAsync(_identity, cb)
|
||||
return { cancel = function() end }
|
||||
end
|
||||
for _idx, method in ipairs({ "paragraphHotspotsAsync", "paragraphReviewPageAsync" }) do
|
||||
local identity = { source_id = "ext.douban", stable_id = "test", chapter_idx = 1 }
|
||||
local identity = { source_id = "douban", stable_id = "test", chapter_idx = 1 }
|
||||
local handle
|
||||
if method == "paragraphHotspotsAsync" then
|
||||
handle = source:paragraphHotspotsAsync(identity, function() calls = calls + 1 end)
|
||||
|
||||
Reference in new issue
Block a user