Refactored to use strictly locals

This commit is contained in:
HW
2013-10-18 22:38:07 +02:00
parent 8efdff65d3
commit ef111b99c6
107 changed files with 1987 additions and 1654 deletions

View File

@@ -1,5 +1,6 @@
local EventListener = require("ui/widget/eventlistener")
ReaderHinting = EventListener:new{
local ReaderHinting = EventListener:new{
hinting_states = {}
}
@@ -32,3 +33,5 @@ function ReaderHinting:onRestoreHinting()
self.view.hinting = table.remove(self.hinting_states)
return true
end
return ReaderHinting