mirror of
https://github.com/Insality/druid
synced 2025-11-26 10:50:54 +01:00
Up
This commit is contained in:
@@ -6,8 +6,6 @@ local system = require("druid.editor_scripts.defold_parser.system.parser_interna
|
||||
local M = {}
|
||||
|
||||
|
||||
|
||||
|
||||
---Replace paths in file content
|
||||
---@param content string - File content
|
||||
---@param author string - Author name (e.g., "Insality")
|
||||
|
||||
@@ -45,7 +45,6 @@ local function build_labels(overrides)
|
||||
end
|
||||
|
||||
|
||||
|
||||
function M.create(item, context)
|
||||
local labels = build_labels(context and context.labels)
|
||||
local open_url = context and context.open_url or function(_) end
|
||||
@@ -164,4 +163,3 @@ end
|
||||
|
||||
|
||||
return M
|
||||
|
||||
|
||||
@@ -8,7 +8,6 @@ local function noop(...)
|
||||
end
|
||||
|
||||
|
||||
|
||||
local function build_context(overrides)
|
||||
return {
|
||||
on_install = overrides.on_install or noop,
|
||||
@@ -18,7 +17,6 @@ local function build_context(overrides)
|
||||
end
|
||||
|
||||
|
||||
|
||||
function M.create(items, overrides)
|
||||
local card_context = build_context(overrides or {})
|
||||
local is_installed = overrides and overrides.is_installed or function(_)
|
||||
@@ -48,4 +46,3 @@ end
|
||||
|
||||
|
||||
return M
|
||||
|
||||
|
||||
Reference in New Issue
Block a user