Updated extensions to modern style, added a heap of tests

This commit is contained in:
Manu Evans 2015-07-22 01:01:08 +10:00
parent 1c27cca3f2
commit fa02da93c6
4 changed files with 6 additions and 7 deletions

@ -1 +1 @@
Subproject commit d6bd3883aa32769eda24f98f5ad6631e7679a67d Subproject commit a72d326601add809cd5c5c2af7851cdc311767cc

@ -1 +1 @@
Subproject commit d037ed35a215d32222e3dfac443534330df49f52 Subproject commit d09d7bef237460ce173575bbfe47f49f7b3f1da5

@ -1 +1 @@
Subproject commit 1606eac28158c41c0dd828b8c278cd31c82899b2 Subproject commit b883ba45c05f7065456029591e742096fbf53526

View File

@ -108,10 +108,9 @@
preloader = os.locate("modules/" .. preloader) or os.locate(preloader) preloader = os.locate("modules/" .. preloader) or os.locate(preloader)
if preloader then if preloader then
m._preloaded[name] = include(preloader) m._preloaded[name] = include(preloader)
-- leave off until existing core modules can catch up if not m._preloaded[name] then
-- if not m._preloaded[name] then p.warn("module '%s' should return function from _preload.lua", name)
-- p.warn("module '%s' should return function from _preload.lua", name) end
-- end
else else
require(name) require(name)
end end