mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Refactored to use strictly locals
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
local InputContainer = require("ui/widget/container/inputcontainer")
|
||||
local UIManager = require("ui/uimanager")
|
||||
local InfoMessage = require("ui/widget/infomessage")
|
||||
local _ = require("gettext")
|
||||
|
||||
ReaderHyphenation = InputContainer:new{
|
||||
local ReaderHyphenation = InputContainer:new{
|
||||
hyph_menu_title = _("Hyphenation"),
|
||||
hyph_table = nil,
|
||||
cur_hyph_idx = nil,
|
||||
@@ -36,3 +40,5 @@ function ReaderHyphenation:addToMainMenu(tab_item_table)
|
||||
sub_item_table = self.hyph_table,
|
||||
})
|
||||
end
|
||||
|
||||
return ReaderHyphenation
|
||||
|
||||
Reference in New Issue
Block a user