]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
Remove circular dependencies from helpers (#7898)
authorJukka Kurkela <jukka.kurkela@gmail.com>
Fri, 16 Oct 2020 11:53:13 +0000 (14:53 +0300)
committerGitHub <noreply@github.com>
Fri, 16 Oct 2020 11:53:13 +0000 (07:53 -0400)
src/helpers/helpers.canvas.js
src/helpers/helpers.dom.js
src/helpers/helpers.easing.js

index a349259667100b59c49861bf4c25fda5302561d9..7f8c8356c31fd972de13975092d8c94446e7444d 100644 (file)
@@ -1,7 +1,5 @@
-import {
-       isArray, isNullOrUndef, PI, TAU, HALF_PI, QUARTER_PI,
-       TWO_THIRDS_PI, RAD_PER_DEG
-} from './index';
+import {isArray, isNullOrUndef} from './helpers.core';
+import {PI, TAU, HALF_PI, QUARTER_PI, TWO_THIRDS_PI, RAD_PER_DEG} from './helpers.math';
 
 /**
  * @typedef { import("../core/core.controller").default } Chart
index fa773169b9c0ef66d3bf7fc5d3b770805ff6a813..12eb7f3a622897dbc6abc8bc9c8ee8b0026e09ff 100644 (file)
@@ -1,4 +1,4 @@
-import {INFINITY} from './index';
+import {INFINITY} from './helpers.math';
 
 /**
  * @private
index 7860ed03be73a26638c3aec013255f7e2af78694..f88f222ba341f1c690756937816b6b82c1611193 100644 (file)
@@ -1,4 +1,4 @@
-import {PI, TAU, HALF_PI} from './index';
+import {PI, TAU, HALF_PI} from './helpers.math';
 
 /**
  * Easing functions adapted from Robert Penner's easing equations.