From: etimberg Date: Wed, 8 Feb 2017 23:45:55 +0000 (-0500) Subject: Fix issue with how Chart.PluginBase is defined X-Git-Tag: v2.6.0~2^2~74 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8c90b9f2de6863cca3051276648e363aa332d6a2;p=thirdparty%2FChart.js.git Fix issue with how Chart.PluginBase is defined --- diff --git a/src/chart.js b/src/chart.js index 77d2bb636..72d5bdf73 100644 --- a/src/chart.js +++ b/src/chart.js @@ -6,8 +6,8 @@ var Chart = require('./core/core.js')(); require('./core/core.helpers')(Chart); require('./platforms/platform.js')(Chart); require('./core/core.canvasHelpers')(Chart); -require('./core/core.plugin.js')(Chart); require('./core/core.element')(Chart); +require('./core/core.plugin.js')(Chart); require('./core/core.animation')(Chart); require('./core/core.controller')(Chart); require('./core/core.datasetController')(Chart); diff --git a/src/core/core.plugin.js b/src/core/core.plugin.js index bda2ff457..eeadc83aa 100644 --- a/src/core/core.plugin.js +++ b/src/core/core.plugin.js @@ -321,5 +321,5 @@ module.exports = function(Chart) { * @todo remove at version 3 * @private */ - Chart.PluginBase = helpers.inherits({}); + Chart.PluginBase = Chart.Element.extend({}); };