mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-25 14:46:10 +03:00
diff review cleanup
This commit is contained in:
parent
11f4f31ba3
commit
f38e0c7967
@ -918,7 +918,7 @@ function OpenSeadragon( options ){
|
|||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* True if the browser supports the EventTarget.removeEventListener() method
|
* True if the browser supports the EventTarget.addEventListener() method
|
||||||
* @member {Boolean} supportsAddEventListener
|
* @member {Boolean} supportsAddEventListener
|
||||||
* @memberof OpenSeadragon
|
* @memberof OpenSeadragon
|
||||||
*/
|
*/
|
||||||
@ -2087,9 +2087,6 @@ function OpenSeadragon( options ){
|
|||||||
* @param {Boolean} [options.passive]
|
* @param {Boolean} [options.passive]
|
||||||
* @param {Boolean} [options.once]
|
* @param {Boolean} [options.once]
|
||||||
*/
|
*/
|
||||||
// undefined - false or {capture: false}
|
|
||||||
// bool - bool or (capture: bool}
|
|
||||||
// obje - obje.capture or obje
|
|
||||||
addEvent: (function () {
|
addEvent: (function () {
|
||||||
if ( $.supportsAddEventListener ) {
|
if ( $.supportsAddEventListener ) {
|
||||||
return function ( element, eventName, handler, options ) {
|
return function ( element, eventName, handler, options ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user