mention jquery
This commit is contained in:
parent
d430055abb
commit
7db58c1193
@ -270,6 +270,11 @@
|
|||||||
return ui.el.style.top = '999%';
|
return ui.el.style.top = '999%';
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
/*
|
||||||
|
loosely follows the jquery api:
|
||||||
|
http://api.jquery.com/
|
||||||
|
not chainable
|
||||||
|
*/
|
||||||
$ = function(selector, root) {
|
$ = function(selector, root) {
|
||||||
if (root == null) {
|
if (root == null) {
|
||||||
root = d.body;
|
root = d.body;
|
||||||
|
|||||||
@ -184,6 +184,11 @@ ui =
|
|||||||
hoverend: (e) ->
|
hoverend: (e) ->
|
||||||
ui.el.style.top = '999%'
|
ui.el.style.top = '999%'
|
||||||
|
|
||||||
|
###
|
||||||
|
loosely follows the jquery api:
|
||||||
|
http://api.jquery.com/
|
||||||
|
not chainable
|
||||||
|
###
|
||||||
$ = (selector, root=d.body) ->
|
$ = (selector, root=d.body) ->
|
||||||
root.querySelector selector
|
root.querySelector selector
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user