JavaScript, JavaScript…

by Angus Croll

  Follow angusTweets on TwitterFollow me on GitHub
I also blog here...
Angus on Svbtle

...and I wrote this...
If Hemingway wrote JavaScript

..and I gave these talks...
Parlez-vous JavaScript
Break all the Rulez










Tag Archives for function guard

A JavaScript Function Guard

Here’s a utility that marshals your function requests so the function only gets invoked after you’ve finally stopped requesting it. For example if I push a button and then wait for a given interval, the function gets called, but if I push it again before the interval has elapsed, the clock is reset and I have to wait another 500ms.

Continue reading →

July 19, 2010 by Angus Croll | Tags: function guard, timeout | 7 Comments

Post navigation

Blog at WordPress.com. | Theme: Ari by Elmastudio.
Follow

Get every new post delivered to your Inbox.

Join 357 other followers

Powered by WordPress.com