]> git.ipfire.org Git - thirdparty/Chart.js.git/commit
Cleanup scales export for better import strategy (#5953)
authorSimon Brunel <simonbrunel@users.noreply.github.com>
Sat, 5 Jan 2019 13:37:54 +0000 (14:37 +0100)
committerGitHub <noreply@github.com>
Sat, 5 Jan 2019 13:37:54 +0000 (14:37 +0100)
commit87e44fa360be580dae085d85d74614dfdc3988c5
treecbbace37696969fecb8f4a06cf0f0ede68e08fff
parent26b7375329b68d4d2e62c1eeef3d842ef86d2d41
Cleanup scales export for better import strategy (#5953)

Scales now export their class and associated defaults (`_defaults`), the registration being done globally in `src/chart.js`.
src/chart.js
src/controllers/index.js
src/scales/index.js [new file with mode: 0644]
src/scales/scale.category.js
src/scales/scale.linear.js
src/scales/scale.linearbase.js
src/scales/scale.logarithmic.js
src/scales/scale.radialLinear.js
src/scales/scale.time.js
test/specs/global.deprecations.tests.js