diff options
author | wout <wout@impinc.co.uk> | 2012-12-23 17:06:42 +0100 |
---|---|---|
committer | wout <wout@impinc.co.uk> | 2012-12-23 17:06:42 +0100 |
commit | 18310896cc0c643c2dbe5695a26904c81f43f823 (patch) | |
tree | 4e7b2613b3983f19bf7d639daf54c4b9d01c7474 /dist/svg.js | |
parent | 3266fd2b1782270b1f92f82c8e418b6e0279f274 (diff) | |
download | svg.js-18310896cc0c643c2dbe5695a26904c81f43f823.tar.gz svg.js-18310896cc0c643c2dbe5695a26904c81f43f823.zip |
Added support for IE9
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 3ecf73f..c4d9848 100644 --- a/dist/svg.js +++ b/dist/svg.js @@ -1,4 +1,4 @@ -/* svg.js v0.1-21-gfe697cc - svg container element group arrange defs clip gradient doc shape rect circle ellipse path image text sugar - svgjs.com/license */ +/* svg.js v0.1-22-g3266fd2 - svg container element group arrange defs clip gradient doc shape rect circle ellipse path image text sugar - svgjs.com/license */ (function() { this.SVG = { @@ -21,7 +21,7 @@ if (!this.has(e)) { i = i == null ? this.children().length : i; this.children().splice(i, 0, e); - this.node.insertBefore(e.node, this.node.childNodes[i]); + this.node.insertBefore(e.node, this.node.childNodes[i] || null); e.parent = this; } |