Merge branch 'master' of github.com:aeosynth/4chan-x

This commit is contained in:
Nicolas Stepien 2011-07-20 00:29:17 +02:00
commit 7a4a238c0c
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