mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
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:
@@ -1,8 +1,14 @@
|
||||
local InputContainer = require("ui/widget/container/inputcontainer")
|
||||
local CenterContainer = require("ui/widget/container/centercontainer")
|
||||
local FrameContainer = require("ui/widget/container/framecontainer")
|
||||
local GestureRange = require("ui/gesturerange")
|
||||
local Geom = require("ui/geometry")
|
||||
local Screen = require("ui/screen")
|
||||
local Device = require("ui/device")
|
||||
local Event = require("ui/event")
|
||||
local UIManager = require("ui/uimanager")
|
||||
local ButtonTable = require("ui/widget/buttontable")
|
||||
local Input = require("ui/input")
|
||||
local _ = require("gettext")
|
||||
|
||||
local ReaderHighlight = InputContainer:new{}
|
||||
|
||||
Reference in New Issue
Block a user