extensions/experimental: Remove unused code

master
Perttu Ahola 2014-10-05 20:38:07 +03:00
parent 62315882dc
commit 93215a3bc8
1 changed files with 1 additions and 18 deletions

View File

@ -4,24 +4,7 @@
local log = buildat.Logger("extension/experimental")
local M = {safe = {}}
local subs_tick = {}
function __buildat_tick(dtime)
for _, cb in ipairs(subs_tick) do
cb(dtime)
end
end
function M.safe.sub_tick(cb)
table.insert(subs_tick, cb)
end
function M.safe.unsub_tick(cb)
for i=#subs_tick,1,-1 do
if subs_tick[i] == cb then
table.remove(subs_tick, i)
end
end
end
-- Empty
return M
-- vim: set noet ts=4 sw=4: