Matthew Wild
|
775261ef27
|
moduleapi: Add module:provides(), a shortcut to add an item with the current module's name
|
2012-03-15 02:52:31 +00:00 |
|
Matthew Wild
|
2c3103e84a
|
moduleapi: Set module.global = true when module:set_global() is called
|
2012-03-14 21:33:15 +00:00 |
|
Matthew Wild
|
7c5700ac54
|
moduleapi: Add module:shared(), a way to easily share data between multiple loaded modules
|
2012-01-22 19:48:53 +00:00 |
|
Matthew Wild
|
2f397255c2
|
moduleapi: Add module:depends(), a way to safely depend upon another module at runtime
|
2012-01-22 19:35:50 +00:00 |
|
Matthew Wild
|
15a0736720
|
modulemanager, moduleapi: Replace hooks multitable with an event_handlers map stored in individual modules. Also adds module:hook_object_event() to hook events on any util.events compatible object.
|
2012-01-22 18:49:11 +00:00 |
|
Matthew Wild
|
36542853ef
|
modulemanager: Move in-module API functions to core.moduleapi (half the file size, yay)
|
2012-01-22 18:41:55 +00:00 |
|