mirror of
https://github.com/openseadragon/openseadragon.git
synced 2025-02-01 07:31:41 +03:00
Remove cancelEvent + fix typos
This commit is contained in:
parent
8debb26d61
commit
542d5f5aeb
@ -224,7 +224,7 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Implement or assign implmentation to these handlers during or after
|
* Implement or assign implementation to these handlers during or after
|
||||||
* calling the constructor.
|
* calling the constructor.
|
||||||
* @function
|
* @function
|
||||||
* @param {Object} event
|
* @param {Object} event
|
||||||
@ -247,7 +247,7 @@
|
|||||||
enterHandler: function () { },
|
enterHandler: function () { },
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Implement or assign implmentation to these handlers during or after
|
* Implement or assign implementation to these handlers during or after
|
||||||
* calling the constructor.
|
* calling the constructor.
|
||||||
* @function
|
* @function
|
||||||
* @param {Object} event
|
* @param {Object} event
|
||||||
@ -270,7 +270,7 @@
|
|||||||
exitHandler: function () { },
|
exitHandler: function () { },
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Implement or assign implmentation to these handlers during or after
|
* Implement or assign implementation to these handlers during or after
|
||||||
* calling the constructor.
|
* calling the constructor.
|
||||||
* @function
|
* @function
|
||||||
* @param {Object} event
|
* @param {Object} event
|
||||||
@ -288,7 +288,7 @@
|
|||||||
pressHandler: function () { },
|
pressHandler: function () { },
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Implement or assign implmentation to these handlers during or after
|
* Implement or assign implementation to these handlers during or after
|
||||||
* calling the constructor.
|
* calling the constructor.
|
||||||
* @function
|
* @function
|
||||||
* @param {Object} event
|
* @param {Object} event
|
||||||
@ -311,7 +311,7 @@
|
|||||||
releaseHandler: function () { },
|
releaseHandler: function () { },
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Implement or assign implmentation to these handlers during or after
|
* Implement or assign implementation to these handlers during or after
|
||||||
* calling the constructor.
|
* calling the constructor.
|
||||||
* @function
|
* @function
|
||||||
* @param {Object} event
|
* @param {Object} event
|
||||||
@ -329,7 +329,7 @@
|
|||||||
moveHandler: function () { },
|
moveHandler: function () { },
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Implement or assign implmentation to these handlers during or after
|
* Implement or assign implementation to these handlers during or after
|
||||||
* calling the constructor.
|
* calling the constructor.
|
||||||
* @function
|
* @function
|
||||||
* @param {Object} event
|
* @param {Object} event
|
||||||
@ -351,7 +351,7 @@
|
|||||||
scrollHandler: function () { },
|
scrollHandler: function () { },
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Implement or assign implmentation to these handlers during or after
|
* Implement or assign implementation to these handlers during or after
|
||||||
* calling the constructor.
|
* calling the constructor.
|
||||||
* @function
|
* @function
|
||||||
* @param {Object} event
|
* @param {Object} event
|
||||||
@ -373,7 +373,7 @@
|
|||||||
clickHandler: function () { },
|
clickHandler: function () { },
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Implement or assign implmentation to these handlers during or after
|
* Implement or assign implementation to these handlers during or after
|
||||||
* calling the constructor.
|
* calling the constructor.
|
||||||
* @function
|
* @function
|
||||||
* @param {Object} event
|
* @param {Object} event
|
||||||
@ -413,7 +413,7 @@
|
|||||||
stopHandler: function () { },
|
stopHandler: function () { },
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Implement or assign implmentation to these handlers during or after
|
* Implement or assign implementation to these handlers during or after
|
||||||
* calling the constructor.
|
* calling the constructor.
|
||||||
* @function
|
* @function
|
||||||
* @param {Object} event
|
* @param {Object} event
|
||||||
@ -431,7 +431,7 @@
|
|||||||
keyHandler: function () { },
|
keyHandler: function () { },
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Implement or assign implmentation to these handlers during or after
|
* Implement or assign implementation to these handlers during or after
|
||||||
* calling the constructor.
|
* calling the constructor.
|
||||||
* @function
|
* @function
|
||||||
* @param {Object} event
|
* @param {Object} event
|
||||||
@ -445,7 +445,7 @@
|
|||||||
focusHandler: function () { },
|
focusHandler: function () { },
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Implement or assign implmentation to these handlers during or after
|
* Implement or assign implementation to these handlers during or after
|
||||||
* calling the constructor.
|
* calling the constructor.
|
||||||
* @function
|
* @function
|
||||||
* @param {Object} event
|
* @param {Object} event
|
||||||
@ -1092,16 +1092,13 @@
|
|||||||
if ( tracker.stopHandler ) {
|
if ( tracker.stopHandler ) {
|
||||||
event = $.getEvent( event );
|
event = $.getEvent( event );
|
||||||
|
|
||||||
var propagate = tracker.stopHandler( {
|
tracker.stopHandler( {
|
||||||
eventSource: tracker,
|
eventSource: tracker,
|
||||||
position: getMouseRelative( event, tracker.element ),
|
position: getMouseRelative( event, tracker.element ),
|
||||||
isTouchEvent: false,
|
isTouchEvent: false,
|
||||||
originalEvent: event,
|
originalEvent: event,
|
||||||
userData: tracker.userData
|
userData: tracker.userData
|
||||||
} );
|
} );
|
||||||
if ( propagate === false ) {
|
|
||||||
$.cancelEvent( event );
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user