Rick,
Maybe i'm missing how that revision works, but it appears to me that
your stop property doesn't actually stop the repeater. Your stop
returns before further execution happens, but the timeout ID for the
window still exists.
What am i missing?
-joe t.
On Jun 24, 12:20 pm, Rick Waldron
Note this last revision brings back a bit more of Robert's version, it's
more 50/50 now.
Rick
On Thu, Jun 25, 2009 at 12:53 PM, Rick Waldron waldron.r...@gmail.comwrote:
You're right... It appears i copied the source in a bit hastily. After
re-examining, I've revised again...
You're right... It appears i copied the source in a bit hastily. After
re-examining, I've revised again...
http://jsbin.com/ajoqu
Rick
On Thu, Jun 25, 2009 at 9:37 AM, joe t. thooke...@gmail.com wrote:
Rick,
Maybe i'm missing how that revision works, but it appears to me that
your stop
Thanks for the insight Tobie, definitely appreciated.
Function.prototype.repeat = function(interval) {
return new PeriodicalExecuter(this, interval);
}
How to stop it? arguments?
This may come to you twice, but this is slightly updated:
http://jsbin.com/opimu
This repeat() method def is