scrap widget inheritance

This commit is contained in:
airstruck
2015-10-27 19:27:14 -04:00
parent ca67432b66
commit f19ef288ca
7 changed files with 101 additions and 125 deletions

View File

@@ -1,9 +1,3 @@
local Widget = require((...):gsub('%.[^.]*$', ''))
return function (self)
local Text = Widget:extend()
function Text:constructor (layout, data)
Widget.constructor(self, layout, data)
end
return Text