refatoring: lazy loading of packages
This commit is contained in:
1 parent
a491594775
commit
14e2bf3d69
6 files changed
+22
-9
No files matched your search
+2
-1
@@ -1,4 +1,4 @@
|
||||
#!./koreader-base
|
||||
#!./luajit
|
||||
|
||||
require "defaults"
|
||||
pcall(dofile, "defaults.persistent.lua")
|
||||
@@ -100,6 +100,7 @@ local function showusage()
|
||||
return
|
||||
end
|
||||
|
||||
local ARGV = arg
|
||||
local argidx = 1
|
||||
while argidx <= #ARGV do
|
||||
local arg = ARGV[argidx]
|
||||
|
||||
Reference in new issue
Block a user