Events.js |
add a listner on a specific event
addListener:function( name, fn )
remove the listner on a specific event
removeListener:function( name, fn )
fires the event
fireEvent:function( name, args, bind )
wrap a function with a onBefore and onAfter events
GearsORM.Events.wrapFunction=function( fn, name, object )