mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
chore: fix some of the luacheck errors
This commit is contained in:
@@ -48,7 +48,7 @@ function CreDocument:cacheInit()
|
||||
end
|
||||
|
||||
function CreDocument:engineInit()
|
||||
if not engine_initilized then
|
||||
if not self.engine_initilized then
|
||||
-- initialize cache
|
||||
self:cacheInit()
|
||||
|
||||
@@ -66,7 +66,7 @@ function CreDocument:engineInit()
|
||||
end
|
||||
end
|
||||
|
||||
engine_initilized = true
|
||||
self.engine_initilized = true
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user