mirror of
https://github.com/Insality/druid
synced 2025-09-27 18:12:21 +02:00
Add class component and druid_instance
This commit is contained in:
@@ -5,7 +5,7 @@ local const = require("druid.const")
|
||||
local helper = require("druid.helper")
|
||||
local component = require("druid.system.component")
|
||||
|
||||
local M = component.new("blocker", { const.ON_SWIPE })
|
||||
local M = component.create("blocker", { const.ON_SWIPE })
|
||||
|
||||
|
||||
function M.init(self, node)
|
||||
|
Reference in New Issue
Block a user