patch for #623 - remove unused pointerX() and pointerY() functions

git-svn-id: http://svn.openlayers.org/trunk/openlayers@2990 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
euzuro
2007-04-03 15:38:16 +00:00
parent 9aa92d491c
commit 33cb7fd0d4

View File

@@ -65,28 +65,6 @@ OpenLayers.Event = {
((event.button) && (event.button == 1)));
},
/**
* @param {Event} event
*
* @returns
* @type int
*/
pointerX: function(event) {
return event.pageX || (event.clientX +
(document.documentElement.scrollLeft || document.body.scrollLeft));
},
/**
* @param {Event} event
*
* @returns
* @type int
*/
pointerY: function(event) {
return event.pageY || (event.clientY +
(document.documentElement.scrollTop || document.body.scrollTop));
},
/** Stops an event from propagating. If the event's 'preventDefault'
* property is set, then we prevent the default browser behaviour
* (such as text selection, radio-button clicking, etc) from occurring