diff options
author | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2018-06-03 08:17:15 +0200 |
---|---|---|
committer | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2018-06-03 08:17:15 +0200 |
commit | 1e25302f6f61836c0fdb9bab01650b967c1fe8ab (patch) | |
tree | f88d442c7b877874bc4e4ba8bffebff3f9f85993 /src/queue.js | |
parent | 977554fea55eaf42ed09757529bc2566c003e755 (diff) | |
download | svg.js-1e25302f6f61836c0fdb9bab01650b967c1fe8ab.tar.gz svg.js-1e25302f6f61836c0fdb9bab01650b967c1fe8ab.zip |
transforms work with multiple elements too. Satisfy linter
Diffstat (limited to 'src/queue.js')
-rw-r--r-- | src/queue.js | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/queue.js b/src/queue.js index 00b6c22..621c887 100644 --- a/src/queue.js +++ b/src/queue.js @@ -6,7 +6,6 @@ SVG.Queue = SVG.invent({ extend: { push: function (value) { - // An item stores an id and the provided value var item = value.next ? value : { value: value, next: null, prev: null } @@ -25,7 +24,6 @@ SVG.Queue = SVG.invent({ }, shift: function () { - // Check if we have a value var remove = this._first if (!remove) return null @@ -49,7 +47,6 @@ SVG.Queue = SVG.invent({ // Removes the item that was returned from the push remove: function (item) { - // Relink the previous item if (item.prev) item.prev.next = item.next if (item.next) item.next.prev = item.prev |