Rename dumpTable to dump and make it work with any values

This commit is contained in:
2025-05-20 20:40:25 +02:00
parent 26e783ee2e
commit 8532db5a25
22 changed files with 472 additions and 467 deletions

View File

@@ -483,7 +483,7 @@ local function Init()
-- S local clbk = test:onChange(function(value)
-- S invocations = invocations + 1
-- S print("test changed to")
-- S dumpTable(value, 0)
-- S dump(value, 0)
-- S end)
-- S test:set({1, 2, 3, 4})
-- S assert(invocations == 1)
@@ -516,7 +516,7 @@ local function Init()
-- S test:once(function(value)
-- S invocations = invocations + 1
-- S print("test changed to")
-- S dumpTable(value, 0)
-- S dump(value, 0)
-- S end)
-- S test:set({3, 2, 1})
-- S assert(invocations == 1)
@@ -527,7 +527,7 @@ local function Init()
-- S test:onChange(function(value)
-- S invocations = invocations + 1
-- S print("test changed to")
-- S dumpTable(value, 0)
-- S dump(value, 0)
-- S end)
-- S test:onAnyFieldChange(function(field, value)
-- S invocations = invocations + 1