diff review cleanup

This commit is contained in:
Mark Salsbery 2020-08-14 22:03:23 -07:00
parent 11f4f31ba3
commit f38e0c7967

View File

@ -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 ) {