Skip to content

Commit

Permalink
Change object to Chart
Browse files Browse the repository at this point in the history
  • Loading branch information
benmccann committed Feb 10, 2019
1 parent ed49930 commit d300e72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/core.plugins.js
Expand Up @@ -89,7 +89,7 @@ module.exports = {
* Calls enabled plugins for `chart` on the specified hook and with the given args.
* This method immediately returns as soon as a plugin explicitly returns false. The
* returned value can be used, for instance, to interrupt the current action.
* @param {object} chart - The chart instance for which plugins should be called.
* @param {Chart} chart - The chart instance for which plugins should be called.
* @param {string} hook - The name of the plugin method to call (e.g. 'beforeUpdate').
* @param {Array} [args] - Extra arguments to apply to the hook call.
* @returns {boolean} false if any of the plugins return false, else returns true.
Expand Down

0 comments on commit d300e72

Please sign in to comment.