Close TODO on self context

This commit is contained in:
Insality 2019-12-05 22:39:46 +03:00
parent b8dec4826f
commit 89933dfaf5

View File

@ -31,7 +31,6 @@ function M.get_state(self)
end end
-- TODO: pass self as first parameter
local function on_click(self) local function on_click(self)
M.set_state(self, not self.state) M.set_state(self, not self.state)
end end