Skip to content


zQuery

The name comes from the fact that of letters which can prefix the word “Query”, the letter z appears to have the least results, and its avoidance of resemblance to jQuery to some extent really underlies what it is: (yet another) lightweight jQuery clone.

This project uses defineGetter/Object.defineProperty to make a jQuery-style (but more like the DOM) API in under 1k (minified).

Example:

$(‘#magic a’).className += ‘ link’;
$(‘body’).find(‘a’).innerHTML
$(‘body’).textContent += ‘blah’ //works on firefox too!

BTW:
This library is totally untested

Posted in vX JS.


0 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.



Some HTML is OK

or, reply to this post via trackback.