Add class component and druid_instance

This commit is contained in:
Insality
2020-02-03 22:08:49 +03:00
parent 8c011dcc27
commit be8869951a
20 changed files with 404 additions and 154 deletions

View File

@@ -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)