aboutsummaryrefslogtreecommitdiffstats
path: root/src/animation/Queue.js
diff options
context:
space:
mode:
authorUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2021-01-13 17:26:33 +0100
committerUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2021-01-13 17:26:33 +0100
commit4524c20b48abe08e69c25a7382a289592d147496 (patch)
tree3e475fe673d5acd800180282e84df03d396106f3 /src/animation/Queue.js
parent4f4dc2afa62cb899a5cae72c359150f8adf27edb (diff)
downloadsvg.js-4524c20b48abe08e69c25a7382a289592d147496.tar.gz
svg.js-4524c20b48abe08e69c25a7382a289592d147496.zip
update dependencies, apply new linter fixes
Diffstat (limited to 'src/animation/Queue.js')
-rw-r--r--src/animation/Queue.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/animation/Queue.js b/src/animation/Queue.js
index e01c3d6..ba484dc 100644
--- a/src/animation/Queue.js
+++ b/src/animation/Queue.js
@@ -16,7 +16,7 @@ export default class Queue {
push (value) {
// An item stores an id and the provided value
- var item = typeof value.next !== 'undefined' ? value : { value: value, next: null, prev: null }
+ const item = typeof value.next !== 'undefined' ? value : { value: value, next: null, prev: null }
// Deal with the queue being empty or populated
if (this._last) {
@@ -47,7 +47,7 @@ export default class Queue {
shift () {
// Check if we have a value
- var remove = this._first
+ const remove = this._first
if (!remove) return null
// If we do, remove it and relink things