Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Suggested addition to Function Methods: .repeat(seconds[, arg...]) <-- Revised from Robert's version
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Rick Waldron  
View profile  
 More options Jun 24, 12:20 pm
From: Rick Waldron <waldron.r...@gmail.com>
Date: Wed, 24 Jun 2009 12:20:56 -0400
Local: Wed, Jun 24 2009 12:20 pm
Subject: Re: Suggested addition to Function Methods: .repeat(seconds[, arg...]) <-- Revised from Robert's version

I made a few modifications to your version, allowing repeat() to behave like
delay() with regard to arguments

I've posted a demo here:

http://jsbin.com/ekone

All the output is to the firebug console... i've included fbug lite just in
case

Rick

On Wed, Jun 24, 2009 at 10:50 AM, Rick Waldron <waldron.r...@gmail.com>wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
joe t.  
View profile  
 More options Jun 25, 9:37 am
From: "joe t." <thooke...@gmail.com>
Date: Thu, 25 Jun 2009 06:37:38 -0700 (PDT)
Local: Thurs, Jun 25 2009 9:37 am
Subject: Re: Suggested addition to Function Methods: .repeat(seconds[, arg...]) <-- Revised from Robert's version
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 <waldron.r...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rick Waldron  
View profile  
 More options Jun 25, 12:53 pm
From: Rick Waldron <waldron.r...@gmail.com>
Date: Thu, 25 Jun 2009 12:53:06 -0400
Local: Thurs, Jun 25 2009 12:53 pm
Subject: Re: [Prototype-core] Re: Suggested addition to Function Methods: .repeat(seconds[, arg...]) <-- Revised from Robert's version

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


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rick Waldron  
View profile  
 More options Jun 25, 12:54 pm
From: Rick Waldron <waldron.r...@gmail.com>
Date: Thu, 25 Jun 2009 12:54:51 -0400
Local: Thurs, Jun 25 2009 12:54 pm
Subject: Re: [Prototype-core] Re: Suggested addition to Function Methods: .repeat(seconds[, arg...]) <-- Revised from Robert's version

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.com>wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google