Added comment about olMochWin

This commit is contained in:
Gregers Gram Rygg
2012-11-05 23:08:42 +01:00
parent 4842c9e572
commit 6e18d0e254

View File

@@ -929,6 +929,7 @@ OpenLayers.Events = OpenLayers.Class({
* calculated values.
*/
getTouchClientXY: function (evt) {
// olMochWin is to override window, used for testing
var win = window.olMockWin || window,
winPageX = win.pageXOffset,
winPageY = win.pageYOffset,