fix documentation for rejectEventHandler

This commit is contained in:
Tom 2024-01-29 11:25:36 -05:00
parent 2add108539
commit a55071f67b

View File

@ -215,8 +215,8 @@ $.EventSource.prototype = {
/** /**
* Set an event name as being disabled, and provide an optional error message * Set an event name as being disabled, and provide an optional error message
* to be printed to the console * to be printed to the console
* @param {String} eventName * @param {String} eventName - Name of the event
* @param {[String]} errorMessage * @param {String} [errorMessage] - Optional string to print to the console
*/ */
rejectEventHandler(eventName, errorMessage = ''){ rejectEventHandler(eventName, errorMessage = ''){
this.rejectedEventList[eventName] = errorMessage; this.rejectedEventList[eventName] = errorMessage;