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:
@@ -6,6 +6,9 @@ local Font = require("ui/font")
|
||||
local Geom = require("ui/geometry")
|
||||
local Device = require("ui/device")
|
||||
local UIManager = require("ui/uimanager")
|
||||
local HorizontalGroup = require("ui/widget/horizontalgroup")
|
||||
local Input = require("ui/input")
|
||||
local Screen = require("ui/screen")
|
||||
|
||||
--[[
|
||||
Widget that displays a tiny notification on top of screen
|
||||
|
||||
Reference in New Issue
Block a user