Orange Event Manager 1.0
Hudell
IntroductionHudell
This plugin is intended to be used by other scripts. It will allow scripters to create event listeners and attach functions or common events to them.
How to Use
You can create your own eventmanager class using MVC:
Code:
var MyClass = MVC.shallowClone(OrangeEventManager);
Code:
MyClass.on('something', MyClass.doSomething);
Code:
var commonEventId = 15;MyClass.on('something', commonEventId);
Code:
MyClass.runEvent('something');
Get it from here
Dependencies
None, but MVCommons is recommended.
FAQ
I'll keep a small FAQ here for easy reference.
Credit and Thanks
- Hudell