Skip to content
This repository was archived by the owner on Nov 25, 2021. It is now read-only.

Commit 2e485cf

Browse files
committed
fix linting
1 parent 6dc07b4 commit 2e485cf

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

samples/animation.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,9 @@
6666

6767
setTimeout(function() {
6868
const vs = boxplotData.datasets[0].data[0];
69-
boxplotData.datasets[0].data[0] = randomValues(100, 8, 19);
69+
boxplotData.datasets[0].data[0] = randomValues(100, 4, 19);
7070
window.myBar.update();
71-
}, 1000);
71+
}, 2000);
7272
</script>
7373
</body>
7474

src/elements/boxandwhiskers.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@ const BoxAndWiskers = Chart.elements.BoxAndWhiskers = ArrayElementBase.extend({
3232
transition(ease) {
3333
const r = Chart.Element.prototype.transition.call(this, ease);
3434
const model = this._model;
35-
const start = this._start;
35+
const start = this._start;
3636
const view = this._view;
3737

38-
// No animation -> No Transition
39-
if (!model || ease === 1) {
38+
// No animation -> No Transition
39+
if (!model || ease === 1) {
4040
return r;
4141
}
4242
if (start.boxplot == null) {

src/elements/violin.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ const Violin = Chart.elements.Violin = ArrayElementBase.extend({
3535
transition(ease) {
3636
const r = Chart.Element.prototype.transition.call(this, ease);
3737
const model = this._model;
38-
const start = this._start;
38+
const start = this._start;
3939
const view = this._view;
4040

41-
// No animation -> No Transition
42-
if (!model || ease === 1) {
41+
// No animation -> No Transition
42+
if (!model || ease === 1) {
4343
return r;
4444
}
4545
if (start.violin == null) {

0 commit comments

Comments
 (0)