You are calling the function on line 20, then trying to do the periodical on the return. try doing something like the following.
this.clock = this.iterateClock.periodical(1000, this, [current, future]); On Tue, Jul 7, 2009 at 3:45 PM, trobrock <[email protected]> wrote: > > I am having trouble getting a class function to run periodically. It > runs once fine, but then I get a function is undefined error. The > related code can be seen here: http://gist.github.com/142298 >
