From 0a71f140dde74d6f51afb977d1d52458cd32808d Mon Sep 17 00:00:00 2001 From: Sage Vaillancourt Date: Wed, 19 Mar 2025 14:19:05 -0400 Subject: [PATCH] tiny -> Tiny --- .luacheckrc | 5 +---- lib/tiny.lua | 1 - main.lua | 4 ++-- tiny-tools.lua | 4 ++-- 4 files changed, 5 insertions(+), 9 deletions(-) diff --git a/.luacheckrc b/.luacheckrc index 305d3de..550a95a 100644 --- a/.luacheckrc +++ b/.luacheckrc @@ -1,4 +1 @@ -std = "lua54+love" -stds.project = { - globals = {"tiny"}, -} \ No newline at end of file +std = "love" \ No newline at end of file diff --git a/lib/tiny.lua b/lib/tiny.lua index 71bccd4..4fb3c89 100644 --- a/lib/tiny.lua +++ b/lib/tiny.lua @@ -927,5 +927,4 @@ worldMetaTable = { end, } -_G.tiny = tiny return tiny diff --git a/main.lua b/main.lua index 8aab077..30d54b1 100644 --- a/main.lua +++ b/main.lua @@ -1,9 +1,9 @@ require("tiny-debug") -tiny = require("lib/tiny") +Tiny = require("lib/tiny") require("utils") require("tiny-tools") -World = tiny.world() +World = Tiny.world() require("generated/filter-types") require("generated/assets") diff --git a/tiny-tools.lua b/tiny-tools.lua index 0b4a40c..2ff6497 100644 --- a/tiny-tools.lua +++ b/tiny-tools.lua @@ -8,7 +8,7 @@ function filteredSystem(name, shape, process, compare) assert(type(shape) == "table" or type(shape) == "function") assert(process == nil or type(process) == "function") - local system = compare and tiny.sortedProcessingSystem() or tiny.processingSystem() + local system = compare and Tiny.sortedProcessingSystem() or Tiny.processingSystem() system.compare = compare system.name = name if type(shape) == "table" then @@ -22,7 +22,7 @@ function filteredSystem(name, shape, process, compare) keys[#keys + 1] = key end end - system.filter = tiny.requireAll(unpack(keys)) + system.filter = Tiny.requireAll(unpack(keys)) elseif type(shape) == "function" then system.filter = shape end