refactoring

This commit is contained in:
Manuel Simon Hirsig
2016-07-15 19:09:09 +02:00
parent e13e9f003e
commit a9290f2885
8 changed files with 101 additions and 130 deletions
+3 -3
View File
@@ -1,7 +1,7 @@
local m = {}
local m, private, public = Aux.module'completion'
Aux.completion = m
function m:complete()
function public:complete()
if IsControlKeyDown() then -- TODO problem is ctrl-v, maybe find a better solution
return
end
@@ -23,7 +23,7 @@ function m:complete()
end
end
function m.completor(options)
function public.completor(options)
return function(self)
if IsControlKeyDown() then -- TODO problem is ctrl-v, maybe find a better solution
return