diff options
author | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2015-11-29 00:25:20 +0100 |
---|---|---|
committer | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2015-11-29 00:25:20 +0100 |
commit | 57ca267205f6c371d3328cc64355f111dbaf72a2 (patch) | |
tree | aeabcb4f0fc4b60c8452d3bf9474346ae69b1e63 /dist/svg.js | |
parent | 068f9b9ad3558109a372407346c1c3dd8d6f94a1 (diff) | |
download | svg.js-57ca267205f6c371d3328cc64355f111dbaf72a2.tar.gz svg.js-57ca267205f6c371d3328cc64355f111dbaf72a2.zip |
fixes the null check fix from last commit (fixes #417)
Diffstat (limited to 'dist/svg.js')
-rw-r--r-- | dist/svg.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dist/svg.js b/dist/svg.js index 8c323fa..c300647 100644 --- a/dist/svg.js +++ b/dist/svg.js @@ -6,7 +6,7 @@ * @copyright Wout Fierens <wout@impinc.co.uk> * @license MIT * -* BUILT: Sat Nov 28 2015 11:37:48 GMT+0100 (Mitteleuropäische Zeit) +* BUILT: Sun Nov 29 2015 00:24:09 GMT+0100 (Mitteleuropäische Zeit) */; (function(root, factory) { if (typeof define === 'function' && define.amd) { @@ -3496,7 +3496,7 @@ SVG.Image = SVG.invent({ img.onload = function() { var p = self.parent(SVG.Pattern) - if(!p) return + if(p === null) return // ensure image size if (self.width() == 0 && self.height() == 0) |