testing pathing

This commit is contained in:
Ryan Ward 2020-02-28 14:55:43 -05:00
parent ff7f46393f
commit 363fd4e639
3 changed files with 12 additions and 7 deletions

View File

@ -2,9 +2,9 @@
Table of contents Table of contents
--- ---
[Update 14.2.0 - The great pruning](#update-1420---the-great-pruning)</br>[Update 14.1.0 - A whole new world of possibilities](#update-1410---a-whole-new-world-of-possibilities)</br>[Update 14.0.0 - Consistency, Additions and Stability](#update-1400---consistency-additions-and-stability)</br>[Update 13.1.0 - Bug fixes and features added](#update-1310---bug-fixes-and-features-added)</br>[Update 13.0.0 - Added some documentation, and some new features too check it out!](#update-1300---added-some-documentation-and-some-new-features-too-check-it-out)</br>[Update 12.2.2 - Time for some more bug fixes!](#update-1222---time-for-some-more-bug-fixes)</br>[Update 12.2.1 - Time for some bug fixes!](#update-1221---time-for-some-bug-fixes)</br>[Update 12.2.0 - The chains of binding](#update-1220---the-chains-of-binding)</br>[Update 12.1.0 - Threads just can't hold on anymore](#update-1210---threads-just-cant-hold-on-anymore)</br>[Update: 12.0.0 - Big update (Lots of additions some changes)](#update-1200---big-update-lots-of-additions-some-changes)</br>[Update: 1.11.1 - Small Clarification on Love](#update-1111---small-clarification-on-love)</br>[Update: 1.11.0](#update-1110)</br>[Update: 1.10.0](#update-1100)</br>[Update: 1.9.2](#update-192)</br>[Update: 1.9.1 - Threads can now argue](#update-191---threads-can-now-argue)</br>[Update: 1.9.0](#update-190)</br>[Update: 1.8.7](#update-187)</br>[Update: 1.8.6](#update-186)</br>[Update: 1.8.5](#update-185)</br>[Update: 1.8.4](#update-184)</br>[Update: 1.8.3 - Mainloop recieves some needed overhauling](#update-183---mainloop-recieves-some-needed-overhauling)</br>[Update: 1.8.2](#update-182)</br>[Update: 1.8.1](#update-181)</br>[Update: 1.7.6](#update-176)</br>[Update: 1.7.5](#update-175)</br>[Update: 1.7.4](#update-174)</br>[Update: 1.7.3](#update-173)</br>[Update: 1.7.2](#update-172)</br>[Update: 1.7.1 - Bug Fixes Only](#update-171---bug-fixes-only)</br>[Update: 1.7.0 - Threading the systems](#update-170---threading-the-systems)</br>[Update: 1.6.0](#update-160)</br>[Update: 1.5.0](#update-150)</br>[Update: 1.4.1 (4/10/2017) - First Public release of the library](#update-141-4102017---first-public-release-of-the-library)</br>[Update: 1.4.0 (3/20/2017)](#update-140-3202017)</br>[Update: 1.3.0 (1/29/2017)](#update-130-1292017)</br>[Update: 1.2.0 (12.31.2016)](#update-120-12312016)</br>[Update: 1.1.0](#update-110)</br>[Update: 1.0.0](#update-100)</br>[Update: 0.6.3](#update-063)</br>[Update: 0.6.2](#update-062)</br>[Update: 0.6.1-6](#update-061-6)</br>[Update: 0.5.1-6](#update-051-6)</br>[Update: 0.4.1](#update-041)</br>[Update: 0.3.0 - The update that started it all](#update-030---the-update-that-started-it-all)</br>[Update: EventManager 2.0.0](#update-eventmanager-200)</br>[Update: EventManager 1.2.0](#update-eventmanager-120)</br>[Update: EventManager 1.1.0](#update-eventmanager-110)</br>[Update: EventManager 1.0.0 - Error checking](#update-eventmanager-100---error-checking)</br>[Version: EventManager 0.0.1 - In The Beginning things were very different](#version-eventmanager-001---in-the-beginning-things-were-very-different)
# Update 14.2.0 - [Insert Update Silly Text Here]
# Update 14.2.0 - Oh my let's Stringify
Full Update Showcase Full Update Showcase
--- ---
```lua ```lua

View File

@ -32,7 +32,6 @@ end
multi.Version = "14.2.0" multi.Version = "14.2.0"
multi.stage = "stable" multi.stage = "stable"
--multi.__index = multi
multi.Name = "multi.root" multi.Name = "multi.root"
multi.Mainloop = {} multi.Mainloop = {}
multi.Garbage = {} multi.Garbage = {}

View File

@ -18,7 +18,7 @@ local function inList(t,o,n)
end end
end end
end end
function initLoop(t,max) local function initLoop(t,max)
for i,v in pairs(t) do for i,v in pairs(t) do
v["$__COUNTER__$"] = max v["$__COUNTER__$"] = max
end end
@ -73,7 +73,13 @@ end
test = {} test = {}
test.temp = {} test.temp = {}
test.temp.hello = multi:newAlarm(3) test.temp.hello = multi:newAlarm(3)
test.temp.yo = multi:newEvent()
local hmm = test.temp.hello local hmm = test.temp.hello
print(getPath(_G, hmm)) local hmm2 = test.temp.yo
print(getPath(_G, multi.Garbage)) -- Cannot index into multi because of __index local hmm3 = multi.DestroyedObj.t()
print(getPath(_G, multi.DestroyedObj)) for i,v in pairs(hmm3) do
print(i,v)
end
-- print(getPath(_G, hmm))
-- print(getPath(_G, hmm2)) -- Cannot index into multi because of __index
-- print(getPath(multi, hmm3))