Skip to content
This repository has been archived by the owner on Nov 18, 2021. It is now read-only.

Commit

Permalink
Fix Delegate#on useCapture js docs (issue #74)
Browse files Browse the repository at this point in the history
  • Loading branch information
orangemug committed Sep 29, 2016
1 parent 0a334ec commit c9bbf5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/delegate.js
Expand Up @@ -119,7 +119,7 @@ Delegate.prototype.captureForType = function(eventType) {
* @param {string} eventType Listen for these events
* @param {string|undefined} selector Only handle events on elements matching this selector, if undefined match root element
* @param {function()} handler Handler function - event data passed here will be in event.data
* @param {Object} [eventData] Data to pass in event.data
* @param {boolean} [useCapture] see 'useCapture' in <https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener>
* @returns {Delegate} This method is chainable
*/
Delegate.prototype.on = function(eventType, selector, handler, useCapture) {
Expand Down

0 comments on commit c9bbf5b

Please sign in to comment.