summaryrefslogtreecommitdiffstats
path: root/src/queue.js
diff options
context:
space:
mode:
authorUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2018-06-03 08:17:15 +0200
committerUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2018-06-03 08:17:15 +0200
commit1e25302f6f61836c0fdb9bab01650b967c1fe8ab (patch)
treef88d442c7b877874bc4e4ba8bffebff3f9f85993 /src/queue.js
parent977554fea55eaf42ed09757529bc2566c003e755 (diff)
downloadsvg.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.js3
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