Lines Matching refs:bind
28 for (i=0; i<bind._binds.length; i++){
29 … if (bind._binds[i].elem === elem && bind._binds[i].type === type && bind._binds[i].func === func){
31 elem.removeEventListener(type, bind._binds[i].fnc, false);
33 elem.detachEvent('on'+type, bind._binds[i].fnc);
35 bind._binds.splice(i--, 1);
40 function bind(elem, type, func, pass){ function
42 return $(elem).bind(type, pass, func);
45 if (bind[type]){
46 return bind[type].bind(elem, type, func, pass);
63 bind._binds.push({elem: elem, type: type, func: func, fnc: fnc});
80 bind(elem, mousedown, mouseDown, data);
82 bind(elem, touchstart, touchStart, data);
103 bind(e.data.affects, mousemove, mouseMove, e.data);
104 bind(e.data.affects, mouseup, mouseUp, e.data);
153 bind(e.data.affects, touchmove, touchMove, e.data);
154 bind(e.data.affects, touchend, touchEnd, e.data);
189 bind._binds = [];