refatoring: lazy loading of packages

This commit is contained in:
chrox committed 2014-10-03 16:13:34 +08:00
1 parent a491594775
commit 14e2bf3d69
6 files changed
+22 -9

No files matched your search

+2 -1
View File
@@ -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]