mention jquery

This commit is contained in:
James Campos 2011-07-19 14:30:52 -07:00
parent d430055abb
commit 7db58c1193
2 changed files with 10 additions and 0 deletions

View File

@ -270,6 +270,11 @@
return ui.el.style.top = '999%';
}
};
/*
loosely follows the jquery api:
http://api.jquery.com/
not chainable
*/
$ = function(selector, root) {
if (root == null) {
root = d.body;

View File

@ -184,6 +184,11 @@ ui =
hoverend: (e) ->
ui.el.style.top = '999%'
###
loosely follows the jquery api:
http://api.jquery.com/
not chainable
###
$ = (selector, root=d.body) ->
root.querySelector selector