modulemanager: Expose api table to allow others to extend the module API

Tue, 23 Jun 2009 01:48:01 +0100

author
Matthew Wild <mwild1@gmail.com>
date
Tue, 23 Jun 2009 01:48:01 +0100
changeset 1389
846df07536eb
parent 1388
546caa44620c
child 1390
ef672c9fe7c9

modulemanager: Expose api table to allow others to extend the module API

core/modulemanager.lua file | annotate | diff | comparison | revisions
--- a/core/modulemanager.lua	Mon Jun 22 22:02:04 2009 +0100
+++ b/core/modulemanager.lua	Tue Jun 23 01:48:01 2009 +0100
@@ -38,7 +38,8 @@
 
 module "modulemanager"
 
-local api = {}; -- Module API container
+api = {};
+local api = api; -- Module API container
 
 local modulemap = { ["*"] = {} };
 

mercurial