Skip to content

Commit

Permalink
fix(jsdoc): corrections to jsdoc (#8277)
Browse files Browse the repository at this point in the history
  • Loading branch information
mister-ben committed May 31, 2023
1 parent d524e57 commit 3af3638
Show file tree
Hide file tree
Showing 8 changed files with 134 additions and 78 deletions.
5 changes: 4 additions & 1 deletion src/js/component.js
Original file line number Diff line number Diff line change
Expand Up @@ -206,8 +206,11 @@ class Component {
* @param {string|Event|Object} event
* The name of the event, an `Event`, or an object with a key of type set to
* an event name.
*
* @param {Object} [hash]
* Optionally extra argument to pass through to an event listener
*/
trigger(event) {}
trigger(event, hash) {}

/**
* Dispose of the `Component` and all child components.
Expand Down
2 changes: 1 addition & 1 deletion src/js/mixins/evented.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ const isEvented = (object) =>
/**
* Adds a callback to run after the evented mixin applied.
*
* @param {Object} object
* @param {Object} target
* An object to Add
* @param {Function} callback
* The callback to run.
Expand Down

0 comments on commit 3af3638

Please sign in to comment.