mirror of
https://github.com/airstruck/luigi.git
synced 2026-02-22 03:46:52 -07:00
add menus
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
return function (self)
|
||||
|
||||
for index, child in ipairs(self) do
|
||||
child.type = child.type or 'menu.item'
|
||||
child.parentMenu = self
|
||||
child.rootMenu = self
|
||||
end
|
||||
|
||||
end
|
||||
Reference in New Issue
Block a user