Timers are buged in APE 1.0
You should upgrade to the last git version.
Anyway, setInterval and clearInterval are not defined. You should use
Ape.set/clearInterval
Le 30/03/2011 11:39, blueklein76 a écrit :
There's a bug in the server side JS.
Open up<server>/scripts/framework/mootools.js and you'll see at the
top the declarations for:
setTimeout = Ape.setTimeout;
setInterval = Ape.setInterval;
Just add in 2 extra lines:
clearTimeout = Ape.clearTimeout;
clearInterval = Ape.clearInterval;
and everything will work fine.
On Mar 30, 4:37 am, Pablo<[email protected]> wrote:
While developig a server module i successfully used the JS function
'setInterval' but when i tried o used 'clearInterval' i got an error
JS:ReferenceError: clearInterval is not defined
could the mootools library be causing this error? or the JS engine?
--
You received this message because you are subscribed to the Google
Groups "APE Project" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/ape-project?hl=en
---
APE Project (Ajax Push Engine)
Official website : http://www.ape-project.org/
Git Hub : http://github.com/APE-Project/