forked from github/server
89649844f6
simplifying git repository structure
11 lines
215 B
Lua
11 lines
215 B
Lua
callbacks = {}
|
|
|
|
callbacks["attrib_init"] = function(attr)
|
|
if attr.name ~= nil then
|
|
local init = callbacks["init_" .. attr.name]
|
|
if init ~=nil then
|
|
init(attr)
|
|
end
|
|
end
|
|
end
|
|
|