madrobby/zepto — Issue #326: Faster .is
Author: arexkun
Created: 2011-11-20 17:58:11+00:00
State: open

Rather than using `$.fn.filter`, `element.webkitMatchesSelector` would be faster and also work with elements that aren't in the DOM.

http://jsperf.com/testing-elements-against-a-selector-in-zepto