Changeset

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
parents 1388:546caa44620c
children 1390:ef672c9fe7c9
files core/modulemanager.lua
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
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 = { ["*"] = {} };