bugfix
This commit is contained in:
+1
-1
@@ -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
@@ -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({}, {
|
||||
|
||||
Reference in New Issue
Block a user