Skip to content

Commit

Permalink
Fixing SVG.Absorbee compatibility, bumped to 0.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
wout committed Jun 11, 2014
1 parent f4c6e10 commit 27ca7cc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions svg.export.js
@@ -1,4 +1,4 @@
// svg.export.js 0.1.0 - Copyright (c) 2014 Wout Fierens - Licensed under the MIT license
// svg.export.js 0.1.1 - Copyright (c) 2014 Wout Fierens - Licensed under the MIT license

;(function() {

Expand Down Expand Up @@ -52,7 +52,7 @@
/* add children */
if (this instanceof SVG.Parent) {
for (i = 0, il = this.children().length; i < il; i++) {
if (SVG.Absorbee != undefined && this.children()[i] instanceof SVG.Absorbee) {
if (SVG.Absorbee && this.children()[i] instanceof SVG.Absorbee) {
clone = this.children()[i].node.cloneNode(true)
well = document.createElement('div')
well.appendChild(clone)
Expand Down
4 changes: 2 additions & 2 deletions svg.export.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 27ca7cc

Please sign in to comment.