diff options
-rw-r--r-- | src/morph.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/morph.js b/src/morph.js index b16be76..040e245 100644 --- a/src/morph.js +++ b/src/morph.js @@ -68,7 +68,7 @@ SVG.Morphable = SVG.invent({ } else if (Array.isArray(value)) { this.type(SVG.Array) - } else of (typeof value === 'object') { + } else if (typeof value === 'object') { this.type(SVG.ObjectBag) } else { |