fixup: fix missing `self` (#84)
This commit is contained in:
parent
08d1340ec9
commit
b9e06deb33
|
@ -23,7 +23,7 @@ end
|
||||||
function M:init(options)
|
function M:init(options)
|
||||||
self.options = options or {}
|
self.options = options or {}
|
||||||
component_no = component_no + 1
|
component_no = component_no + 1
|
||||||
if not options.component_name then
|
if not self.options.component_name then
|
||||||
self.options.component_name = tostring(component_no)
|
self.options.component_name = tostring(component_no)
|
||||||
end
|
end
|
||||||
self.component_no = component_no
|
self.component_no = component_no
|
||||||
|
|
Loading…
Reference in New Issue