don't use $ in ui

This commit is contained in:
James Campos 2011-07-30 22:21:46 -07:00
parent 19a615d56a
commit 1c276c0fba
2 changed files with 2 additions and 2 deletions

View File

@ -282,7 +282,7 @@
},
hoverend: function(e) {
ui.el.parentNode.removeChild(ui.el);
return $.unbind(d, 'mousemove', ui.hoverend);
return d.removeEventListener('mousemove', ui.hoverend, false);
}
};
/*

View File

@ -198,7 +198,7 @@ ui =
hoverend: (e) ->
ui.el.parentNode.removeChild ui.el
$.unbind d, 'mousemove', ui.hoverend
d.removeEventListener 'mousemove', ui.hoverend, false
###
loosely follows the jquery api: