rebuild sources
This commit is contained in:
parent
15072aaa22
commit
e44875adfc
13
dist/frappe-charts.min.cjs.js
vendored
13
dist/frappe-charts.min.cjs.js
vendored
@ -550,6 +550,11 @@ function lightenDarkenColor(col, amt) {
|
||||
return (usePound ? "#" : "") + (g | b << 8 | r << 16).toString(16);
|
||||
}
|
||||
|
||||
/**
|
||||
* Shuffles array in place. ES6 version
|
||||
* @param {Array} a items An array containing the items.
|
||||
*/
|
||||
|
||||
var SvgTip = function () {
|
||||
function SvgTip(_ref) {
|
||||
var _ref$parent = _ref.parent,
|
||||
@ -3230,6 +3235,14 @@ var Heatmap = function (_BaseChart) {
|
||||
return Heatmap;
|
||||
}(BaseChart);
|
||||
|
||||
// if ("development" !== 'production') {
|
||||
// // Enable LiveReload
|
||||
// document.write(
|
||||
// '<script src="http://' + (location.host || 'localhost').split(':')[0] +
|
||||
// ':35729/livereload.js?snipver=1"></' + 'script>'
|
||||
// );
|
||||
// }
|
||||
|
||||
var chartTypes = {
|
||||
line: LineChart,
|
||||
bar: BarChart,
|
||||
|
||||
13
dist/frappe-charts.min.esm.js
vendored
13
dist/frappe-charts.min.esm.js
vendored
@ -548,6 +548,11 @@ function lightenDarkenColor(col, amt) {
|
||||
return (usePound ? "#" : "") + (g | b << 8 | r << 16).toString(16);
|
||||
}
|
||||
|
||||
/**
|
||||
* Shuffles array in place. ES6 version
|
||||
* @param {Array} a items An array containing the items.
|
||||
*/
|
||||
|
||||
var SvgTip = function () {
|
||||
function SvgTip(_ref) {
|
||||
var _ref$parent = _ref.parent,
|
||||
@ -3228,6 +3233,14 @@ var Heatmap = function (_BaseChart) {
|
||||
return Heatmap;
|
||||
}(BaseChart);
|
||||
|
||||
// if ("development" !== 'production') {
|
||||
// // Enable LiveReload
|
||||
// document.write(
|
||||
// '<script src="http://' + (location.host || 'localhost').split(':')[0] +
|
||||
// ':35729/livereload.js?snipver=1"></' + 'script>'
|
||||
// );
|
||||
// }
|
||||
|
||||
var chartTypes = {
|
||||
line: LineChart,
|
||||
bar: BarChart,
|
||||
|
||||
@ -35,7 +35,9 @@ export function lightenDarkenColor(col,amt) {
|
||||
* @param {Array} a items An array containing the items.
|
||||
*/
|
||||
export function shuffle(array) {
|
||||
//https://stackoverflow.com/questions/6274339/how-can-i-shuffle-an-array?noredirect=1&lq=1
|
||||
// Awesomeness: https://bost.ocks.org/mike/shuffle/
|
||||
// https://stackoverflow.com/a/2450976/6495043
|
||||
// https://stackoverflow.com/questions/6274339/how-can-i-shuffle-an-array?noredirect=1&lq=1
|
||||
|
||||
for (let i = array.length - 1; i > 0; i--) {
|
||||
let j = Math.floor(Math.random() * (i + 1));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user