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

@@ -4,7 +4,7 @@
local const = require("druid.const")
local component = require("druid.system.component")
local M = component.new("back_handler", { const.ON_INPUT })
local M = component.create("back_handler", { const.ON_INPUT })
--- Component init function