Diff

core/modulemanager.lua @ 1389:846df07536eb

modulemanager: Expose api table to allow others to extend the module API
author Matthew Wild <mwild1@gmail.com>
date Tue, 23 Jun 2009 01:48:01 +0100
parent 1386:9132f16666e4
child 1394:2ebed659b958
line wrap: on
line diff
--- 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 = { ["*"] = {} };