- Welcome to the Kancolle Wiki!
- If you have any questions regarding site content, account registration, etc., please visit the KanColle Wiki Discord
Changes
Jump to navigation
Jump to search
Line 9:
Line 9:
− +
− data._mode = data.mode or "pages"+
−
no edit summary
function CategoryTree:create(data)
function CategoryTree:create(data)
data = data or {}
data = data or {}
data._category = data.category
data.mode = data.mode or "pages"
data.depth = data.depth or "0"
data._depth = data.depth or "0"
data.__tostring = self._tostring
data.__tostring = self._tostring
return self.__index.create(self, data)
return self.__index.create(self, data)