diff options
author | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2017-03-19 16:41:01 +0100 |
---|---|---|
committer | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2017-03-19 16:41:01 +0100 |
commit | 60d3ad099f3ee1a39b401d12405dba9e4d7e5da2 (patch) | |
tree | e4feaf91d7c2d0c8a9c7f174ad4908f3b8b6f1cc /CHANGELOG.md | |
parent | dc846f3eeadf2aa8aa84fe2339b7e647937715ce (diff) | |
download | svg.js-60d3ad099f3ee1a39b401d12405dba9e4d7e5da2.tar.gz svg.js-60d3ad099f3ee1a39b401d12405dba9e4d7e5da2.zip |
removed `loaded()` and `error()`/`changed load()`
SVG.Image is now constructed with:
- container.image(src, callback)
- new SVG.Image().load(src, callback)
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r-- | CHANGELOG.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 8978d7e..a4ade76 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,6 +22,7 @@ The document follows the conventions described in [“Keep a CHANGELOG”](http: - removed `ungroup()` in favour of `flatten()` - removed `SVG.Set` - removed feature to set style with css string (e.g. "fill:none;display:block;") +- removed `loaded()` and `error()` method on `SVG.Image` ### Changed - gradients now have there corresponding node as type and not only radial/linear @@ -33,6 +34,7 @@ The document follows the conventions described in [“Keep a CHANGELOG”](http: - replaced static reference to `targets` in `SVG.Mask` and `SVG.ClipPath` with the `targets()` method - moved all regexes to `SVG.regex` - `svg()` will now return the element without svg-wrapper +- new constructor signature for `SVG.Image` and `load()`: `container.image(src, callback) / image.load(src, callback)` ### Fixed - fixed a bug in clipping and masking where empty nodes persists after removal -> __TODO!__ |