From: Jukka Kurkela Date: Fri, 4 Sep 2020 20:47:08 +0000 (+0300) Subject: Fix the parameter order of before/afterEvent (#7757) X-Git-Tag: v3.0.0-beta.2~1^2~25 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c749fbdf5f8ec08df0261fd8600684ce000a9cf0;p=thirdparty%2FChart.js.git Fix the parameter order of before/afterEvent (#7757) --- diff --git a/src/core/core.plugins.js b/src/core/core.plugins.js index 4ceab715e..d24b4d56a 100644 --- a/src/core/core.plugins.js +++ b/src/core/core.plugins.js @@ -289,8 +289,8 @@ function createDescriptors(plugins, options) { * the event will be discarded. * @param {Chart} chart - The chart instance. * @param {IEvent} event - The event object. - * @param {object} options - The plugin options. * @param {boolean} replay - True if this event is replayed from `Chart.update` + * @param {object} options - The plugin options. */ /** * @method IPlugin#afterEvent @@ -298,8 +298,8 @@ function createDescriptors(plugins, options) { * will not be called if the `event` has been previously discarded. * @param {Chart} chart - The chart instance. * @param {IEvent} event - The event object. - * @param {object} options - The plugin options. * @param {boolean} replay - True if this event is replayed from `Chart.update` + * @param {object} options - The plugin options. */ /** * @method IPlugin#resize