summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2015-12-12 00:52:26 +0100
committerUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2015-12-12 00:52:26 +0100
commit7f5996c844067925e099a8004e941bfb5034d6d8 (patch)
tree7ebb22c7f928a3c05987fdccefca61b84521c656
parentbe3d3e8209635226f71f2e6e8ec5b0775279f53b (diff)
downloadsvg.js-7f5996c844067925e099a8004e941bfb5034d6d8.tar.gz
svg.js-7f5996c844067925e099a8004e941bfb5034d6d8.zip
updated changelog, fixed typo in doc and removed semicolon
-rw-r--r--CHANGELOG.md6
-rw-r--r--README.md2
-rw-r--r--dist/svg.js6
-rw-r--r--src/clip.js2
-rw-r--r--src/mask.js2
5 files changed, 12 insertions, 6 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index e60b569..cc01b54 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -8,6 +8,12 @@
- added `precision()` method to round numeric element attributes -> __TODO!__
- added specs for `SVG.FX` -> __TODO!__
+# 2.2.4
+- fixed `transform()` which returns the matrix values (a-f) now, too (#423)
+- double newlines (\n\n) are correctly handled as blank line from `text()`
+- fixed use of scrollX vs pageXOffset in `rbox()` (#425)
+- fixed target array in mask and clip which was removed instead of reinitialized (#429)
+
# 2.2.3 (30/11/2015)
- fixed null check in image (see 2.2.2)
- fixed bug related to the new path parser (see 2.2.2)
diff --git a/README.md b/README.md
index 0c2da59..c27af9c 100644
--- a/README.md
+++ b/README.md
@@ -1886,7 +1886,7 @@ This will return an instance of `SVG.RBox` containing the following values:
- `x2` (lower right `x` of the bounding box)
- `y2` (lower right `y` of the bounding box)
-__Important__: Mozilla browsers include stroke widths where other browsers do not. Therefore the resulting box might be different in Mozulla browsers. It is very hard to modify this behavior so for the time being this is an inconvenience we have to live with.
+__Important__: Mozilla browsers include stroke widths where other browsers do not. Therefore the resulting box might be different in Mozilla browsers. It is very hard to modify this behavior so for the time being this is an inconvenience we have to live with.
__`returns`: `SVG.RBox`__
diff --git a/dist/svg.js b/dist/svg.js
index fa11742..74adce7 100644
--- a/dist/svg.js
+++ b/dist/svg.js
@@ -6,7 +6,7 @@
* @copyright Wout Fierens <wout@impinc.co.uk>
* @license MIT
*
-* BUILT: Fri Dec 11 2015 09:19:16 GMT-0600 (Central Standard Time)
+* BUILT: Sat Dec 12 2015 00:50:35 GMT+0100 (Mitteleuropäische Zeit)
*/;
(function(root, factory) {
if (typeof define === 'function' && define.amd) {
@@ -2777,7 +2777,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)
@@ -2836,7 +2836,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/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)