Skip to content

Instantly share code, notes, and snippets.

@andreacfm
Created August 12, 2010 15:58
Show Gist options
  • Save andreacfm/521193 to your computer and use it in GitHub Desktop.
Save andreacfm/521193 to your computer and use it in GitHub Desktop.
CFEM - Adding events
var events = [
{name = 'myevent'},
{name= 'anotherevent'}
]
//Using the contructor
var application.cfem = createObject('component','com.andreacfm.cfem.EventManager').init(events = events);
//Or At Runtime
application.cfem.setEvents(events);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment