summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/clip.js2
-rw-r--r--src/mask.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/clip.js b/src/clip.js
index 9b5443e..2a92e44 100644
--- a/src/clip.js
+++ b/src/clip.js
@@ -18,7 +18,7 @@ SVG.ClipPath = SVG.invent({
for (var i = this.targets.length - 1; i >= 0; i--)
if (this.targets[i])
this.targets[i].unclip()
- this.targets = [];
+ this.targets = []
// remove clipPath from parent
this.parent().removeElement(this)
diff --git a/src/mask.js b/src/mask.js
index 4a6047a..51e61e9 100644
--- a/src/mask.js
+++ b/src/mask.js
@@ -18,7 +18,7 @@ SVG.Mask = SVG.invent({
for (var i = this.targets.length - 1; i >= 0; i--)
if (this.targets[i])
this.targets[i].unmask()
- this.targets = [];
+ this.targets = []
// remove mask from parent
this.parent().removeElement(this)