Further refactoring

This should finish the work to make all globals to local variables.
That allows LuaJIT to properly compile things by interning the
references to the relevant parts (rather than looking up globals
all the time which stops a trace).
This commit is contained in:
HW
2013-10-22 17:11:31 +02:00
parent ef111b99c6
commit 2154e7e852
28 changed files with 296 additions and 224 deletions

View File

@@ -7,6 +7,8 @@ local GestureRange = require("ui/gesturerange")
local Geom = require("ui/geometry")
local Event = require("ui/event")
local Screen = require("ui/screen")
local Menu = require("ui/widget/menu")
local InfoMessage = require("ui/widget/infomessage")
local _ = require("gettext")
local ReaderMenu = InputContainer:new{