mirror of
https://github.com/chartjs/Chart.js.git
synced 2026-03-06 16:26:52 +01:00
Browserify for easier UMD consumptions and vanilla builds
This commit is contained in:
@@ -1,10 +1,8 @@
|
||||
(function() {
|
||||
"use strict";
|
||||
|
||||
"use strict";
|
||||
module.exports = function(Chart) {
|
||||
|
||||
var root = this,
|
||||
Chart = root.Chart,
|
||||
helpers = Chart.helpers;
|
||||
var helpers = require('../core/core.helpers.js');
|
||||
|
||||
Chart.defaults.bubble = {
|
||||
hover: {
|
||||
@@ -167,4 +165,4 @@
|
||||
point._model.borderWidth = point.custom && point.custom.borderWidth ? point.custom.borderWidth : helpers.getValueAtIndexOrDefault(this.getDataset().borderWidth, index, this.chart.options.elements.point.borderWidth);
|
||||
}
|
||||
});
|
||||
}).call(this);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user