3
Contributors
3
Replies
26
Views
2 Years
Discussion Span
Last Post by AleMonteiro
0

I'm trying to find a way to add functionality to Java Script's main event loop, from which the all its events are evaluated.

For example,

//every event based application has something similar at heart,
//usually, somewhere in the main function
while(application.isRunning()) 
{
 //process all events
 AbstractEvent **a = eventStack.begin()-1;
 while(++a!=eventStack.end())
 {
  application.processEvent(*a); //could be an "onclick","onmouseenter", exit, etc...
  //for Java Script, can I make stuff happen here
 }

 //or here?
}
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.