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
+2 -8
View File
@@ -1,9 +1,4 @@
local Widget = require((...):gsub('%.[^.]*$', ''))
local Stepper = Widget:extend()
function Stepper:constructor (layout, data)
Widget.constructor(self, layout, data)
return function (self)
self.flow = 'x'
self.index = 1
@@ -58,6 +53,5 @@ function Stepper:constructor (layout, data)
end)
updateValue()
end
return Stepper
end