Skip to content

Commit dbce4d7

Browse files
author
Spencer Dellis
authored
Fixing eslint issues.
1 parent d49b06f commit dbce4d7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/mixins/reactiveData.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,17 +29,17 @@ module.exports = {
2929
// Get new and old dataset keys
3030
const oldDatasetKeys = Object.keys(oldData.datasets[i])
3131
const newDatasetKeys = Object.keys(dataset)
32-
32+
3333
// Get keys that aren't present in the new data
3434
const deletionKeys = oldDatasetKeys.filter((key) => {
3535
return key !== '_meta' && newDatasetKeys.indexOf(key) === -1
3636
})
37-
37+
3838
// Remove outdated key-value pairs
3939
deletionKeys.forEach((deletionKey) => {
4040
delete chart.data.datasets[i][deletionKey]
4141
})
42-
42+
4343
// Update attributes individually to avoid re-rendering the entire chart
4444
for (const attribute in dataset) {
4545
if (dataset.hasOwnProperty(attribute)) {

0 commit comments

Comments
 (0)