This commit is contained in:
Manuel Simon Hirsig
2016-09-23 12:12:32 +02:00
parent 240589eef1
commit a98c6c122b
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -78,7 +78,7 @@ end
do
local index
function private.active_tab.get() return tab_info[index] end
function on_tab_click(i)
function private.on_tab_click(i)
do (index and active_tab.CLOSE or nop)() end
index = i
do (index and active_tab.OPEN or nop)() end
+1 -1
View File
@@ -136,7 +136,7 @@ do
function vararg(f)
local chunk = loadstring(code)
setfenv(chunk, {f=f, setn=setn, acquire=acquire, set_auto_release=set_auto_release})
setfenv(chunk, { f=f, setn=setn, acquire=acquire, set_auto_release=set_auto_release })
return chunk()
end
public.vararg = setmetatable({}, {