diff options
author | Philipp Gesang <phg42.2a@gmail.com> | 2013-04-30 22:20:18 +0200 |
---|---|---|
committer | Philipp Gesang <phg42.2a@gmail.com> | 2013-04-30 22:20:18 +0200 |
commit | 89e6b7e01691688713a5e7c02e5d642b28abfefc (patch) | |
tree | 9cea5bb1e950d96a8aa3b86ba5db9d8c3e85072b /lualibs-basic.lua | |
parent | 01fd63f17c80e81218b3d65f1455a62c411dc6ff (diff) | |
download | lualibs-89e6b7e01691688713a5e7c02e5d642b28abfefc.tar.gz |
get rid of ``module()``
Diffstat (limited to 'lualibs-basic.lua')
-rw-r--r-- | lualibs-basic.lua | 22 |
1 files changed, 8 insertions, 14 deletions
diff --git a/lualibs-basic.lua b/lualibs-basic.lua index 8bdaf70..cd28e75 100644 --- a/lualibs-basic.lua +++ b/lualibs-basic.lua @@ -1,21 +1,19 @@ --- This is file `lualibs-basic.lua', -module('lualibs-basic', package.seeall) +lualibs = lualibs or { } local lualibs_basic_module = { name = "lualibs-basic", - version = 1.01, - date = "2013/04/10", - description = "Basic Lua extensions, meta package.", - author = "Hans Hagen, PRAGMA-ADE, Hasselt NL & Elie Roux", + version = 2.00, + date = "2013/04/30", + description = "ConTeXt Lua libraries -- basic collection.", + author = "Hans Hagen, PRAGMA-ADE, Hasselt NL & Elie Roux & Philipp Gesang", copyright = "PRAGMA ADE / ConTeXt Development Team", license = "See ConTeXt's mreadme.pdf for the license", } -local lualibs = _G.config.lualibs local error, warn, info = lualibs.error, lualibs.warn, lualibs.info -local loadmodule = lualibs.loadmodule -local stringformat = string.format +local loadmodule = lualibs.loadmodule +local stringformat = string.format local loaded = false if lualibs.prefer_merged then @@ -46,9 +44,5 @@ if loaded == false then loadmodule("lualibs-set.lua") end --- these don’t look much basic to me: ---l-pdfview.lua ---l-xml.lua - +lualibs.basic_loaded = true -- vim:tw=71:sw=2:ts=2:expandtab --- End of File `lualibs.lua'. |