rem: if(this._event.clientX||this._event.clientY){ m.client.x=this._fixPoint(this._event.clientX); m.client.y=this._fixPoint(this._event.clientY); 
add: if(e.clientX||e.clientY){ m.client.x=(!e.clientX||e.clientX<0)?0:e.clientX; m.client.y=(!e.clientY||e.clientY<0)?0:e.clientY; 
context: MochiKit.Signal.Event.prototype.mouse=function(){var m={};if(this.type()&&(this.type().indexOf("mouse")===0||this.type().indexOf("click")!=-1||this.type()=="contextmenu")){m.client=new MochiKit.DOM.Coordinates(0,0);if(this._event.clientX||this._event.clientY){m.client.x=this._fixPoint(this._event.clientX);m.client.y=this._fixPoint(this._event.clientY);}m.page=new MochiKit.DOM.Coordinates(0,0);if(this._event.pageX||this._event.pageY){m.page.x=this._fixPoint(this._event.pageX);m.page.y=this._fixPoint(this._event.pageY);}else{m.page.x=(this._event.clientX+(document.documentElement.scrollLeft||document.body.scrollLeft)-document.documentElement.clientLeft);m.page.y=(this._event.clientY+(document.documentElement.scrollTop||document.body.scrollTop)-document.documentElement.clientTop);}if(this.type()!="mousemove"){m.button={};m.button.left=false;m.button.right=false;m.button.middle=false;if(this._event.which){m.button.left=(this._event.which==1);m.button.middle=(this._event.which==2);m.button.right=(this._event.which==3);}else{m.button.left=!!(this._event.button&1);m.button.right=!!(this._event.button&2);m.button.middle=!!(this._event.button&4);}}return m;}throw new Error("This is not a mouse event");};
meta: 8607	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8607/8b42fb2ed090da7f1e336726dcb69d2649658e7c/MochiKit.js/clean/trunk/lib/MochiKit.js