• Following no one
  • Nothing Unseen
  • Someone Random
  • Everyone
  • Events
 

John Resig   -   Follow Person   Add Another Site   Edit
mozilla:jresig    jeresig    jquery    @oscon2008    @moz08    @tae2008    @jquerycon2008   
Flickr photos


LinkedIn
JavaScript Tool Developer at Mozilla Corporation
Creator, Lead Developer at jQuery JavaScript Library
Twitter
About to see a reading of Two Gentleman of Lebowski at the Factory Theatre. 10 hours ago
In a Q&A; with Best Actor nominee Jeremy Renner, after re-watching The Hurt Locker. http://twitpic.com/11tgxw 2 days ago
LOST: Not with a bang but a whimper. 6 days ago
Delicious/phytar
YouTube - Upcoming Changes to the JavaScript Language   713 days ago
Buildbot - Trac   713 days ago
Kevin Kelly -- The Technium   735 days ago
John Resig
.closest(Array) in jQuery 1.4   52 days ago

A new method signature is slated for jQuery 1.4: .closest(Array). It builds upon the previous .closest() method and hyper-optimizes the logic needed for handling event delegation (and live events).

closest() (and by extension, is()) has become a critical function in jQuery. With more people using live events reducing any overhead has become of the utmost importance. Every time an event fires that live is bound to (such as click or mousemove) jQuery uses the closest() method to go from the target element and find the nearest element that matches the specific selector. The more handlers that are bound, though, the more computationally expensive it becomes.

In jQuery 1.4 we've added closest(Array) which gives us the ability to batch these selector checks together and reduce the amount of time that we spend traversing the DOM.

Example

.nodeName Case Sensitivity   76 days ago

When working with the DOM .nodeName property there are two hard-and-fast rules that most people abide by:

Deep Tracing of Internet Explorer   83 days ago

After reading a recent post by Steve Souders concerning a free tool called dynaTrace Ajax, I was intrigued. It claimed to provide full tracing analysis of Internet Explorer 6-8 (including JavaScript, rendering, and network traffic). Giving it a try I was very impressed. I tested against a few web sites but got the most interesting results running against the JavaScript-heavy Gmail in Internet Explorer 8.

I typically don't write about most performance analysis tools because, frankly, most of them are quite bland and don't provide very interesting information or analysis. dynaTrace provides some information that I've never seen before - in any tool on any browser.

reddit.com: what's new online!
jeresig on Reddit Sex Subreddit seems to have become and advice message board... Is that what we want?   34 days ago

The best way to get more articles submitted is to submit them yourself! Personally, I'm perfectly fine with a particular shift towards having more Q&A - considering that reddits, like /r/askreddit, have an influx of questions that would be better suited to here. In the end though a mix of Q&A and posts would be ideal.

jeresig on Can you give another gift (or three)? Sign up to help a shafted redditor!   43 days ago

No problem! :) I should be back in town on Wednesday so hopefully I'll be back in time to pick it up. Thanks again!

jeresig on Can you give another gift (or three)? Sign up to help a shafted redditor!   55 days ago

Yayy! :-D No worries at all, I'm quite excited! Thanks!

jeresig's Recently Played Tracks
Darren Emerson – Crash Jack (Jamie McHugh’s Exclusive GU Bogota Remix)   15 hours ago

http://www.last.fm/music/Darren+Emerson

Kerri Chandler – Fortran (Argy’s Big Room Detroit Mix)   15 hours ago

http://www.last.fm/music/Kerri+Chandler

Itamar Sagi – One Million Oaks (Funk D’Void Remix)   15 hours ago

http://www.last.fm/music/Itamar+Sagi


Learn about this site | Contact
API | Source Code
© 2008 Christopher Blizzard