Remove circular dependencies from helpers (#7898)

This commit is contained in:
Jukka Kurkela 2020-10-16 14:53:13 +03:00 committed by GitHub
parent 0c61d55682
commit b6c22d269a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 6 deletions

View 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

View File

@ -1,4 +1,4 @@
import {INFINITY} from './index';
import {INFINITY} from './helpers.math';
/**
* @private

View 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.