Graal Forums  

Go Back   Graal Forums > Development Forums > Future Improvements
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 05-08-2008, 02:10 PM
Robin Robin is offline
The secret of NIMH
Robin's Avatar
Join Date: Apr 2005
Location: Wales, UK
Posts: 515
Robin will become famous soon enough
Send a message via AIM to Robin
Something like this would be greatly appriciated for both Clientside and Serverside:

PHP Code:
function onCreated() {
  
this.addEventListener("Timeout",function() {
    
sendtonc("2");
  });
  
setTimer(1);
}
function 
onTimeout() {
  
sendtonc("1");
}

// Would recieve:
// 1
// 2
// Simultaneously 
__________________

Reply With Quote
  #2  
Old 05-08-2008, 09:01 PM
Inverness Inverness is offline
Incubator
Inverness's Avatar
Join Date: Aug 2004
Location: Houston, Texas
Posts: 3,613
Inverness is a jewel in the roughInverness is a jewel in the rough
Quote:
Originally Posted by Robin View Post
Something like this would be greatly appriciated for both Clientside and Serverside:

PHP Code:
function onCreated() {
  
this.addEventListener("Timeout",function() {
    
sendtonc("2");
  });
  
setTimer(1);
}
function 
onTimeout() {
  
sendtonc("1");
}

// Would recieve:
// 1
// 2
// Simultaneously 
So do you have a good reason why we need to add another way to do catchevent()? Cause it seems like my consistency argument is going right over your head.

The ECMAScript thing isn't a good enough reason to redo how we catch events either.
__________________
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 10:47 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.