diff options
author | Marius <mariausol@gmail.com> | 2013-03-18 19:40:20 +0200 |
---|---|---|
committer | Marius <mariausol@gmail.com> | 2013-03-18 19:40:20 +0200 |
commit | 96a527b89aee11b080f31e49af920c475f084b33 (patch) | |
tree | 3c7054e06c82b923210c80ef9a8f921b3beaea60 /scripts/context/lua/mtxlibs.lua | |
parent | 55b1f73d9218c1f6e027756f1dc99fbc624a57d6 (diff) | |
download | context-96a527b89aee11b080f31e49af920c475f084b33.tar.gz |
beta 2013.03.18 18:20
Diffstat (limited to 'scripts/context/lua/mtxlibs.lua')
-rw-r--r-- | scripts/context/lua/mtxlibs.lua | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/scripts/context/lua/mtxlibs.lua b/scripts/context/lua/mtxlibs.lua index 9559e33d5..38c040b41 100644 --- a/scripts/context/lua/mtxlibs.lua +++ b/scripts/context/lua/mtxlibs.lua @@ -49,9 +49,10 @@ if not modules then modules = { } end modules ['mtxlibs'] = { -- the for context handy option to expose them in the normal ones. I might make the dependencies -- less but it probably makes no sense to waste time on them. -if not lpeg then require("lpeg") end --- not md5 then require("md5") end -- once we have the libs --- not lfs then require("lfs") end -- once we have the libs +if not lpeg then require("lpeg") end +if not md5 then xpcall(require,function() end,"md5") end +if not lfs then xpcall(require,function() end,"lfs") end +if not unicode then xpcall(require,function() end,"slunicode") end -- begin library merge |