This commit is contained in:
commit
3598b9f825
21 files changed
+2240
No files matched your search
@@ -0,0 +1,17 @@
|
||||
--[[--
|
||||
月读第三方书源描述:BookOrbit。契约见月读 examples/moonsource-demo.koplugin/moon_source.lua。
|
||||
--]]
|
||||
|
||||
local function lazy(module)
|
||||
return setmetatable({}, { __index = function(_, key) return require(module)[key] end })
|
||||
end
|
||||
|
||||
return {
|
||||
api = 1,
|
||||
provides = {
|
||||
source = true,
|
||||
},
|
||||
meta = function() return require("moonsource_bookorbit.source").meta() end,
|
||||
new = function() return require("moonsource_bookorbit.source").new() end,
|
||||
setting = lazy("moonsource_bookorbit.setting"),
|
||||
}
|
||||
Reference in new issue
Block a user