mirror of
https://github.com/koreader/koreader
synced 2024-11-16 06:12:56 +00:00
2154e7e852
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).
3 lines
60 B
Lua
3 lines
60 B
Lua
-- compatibility wrapper
|
|
return require("ui/device").screen
|