alexk111 / SVG-Morpheus

JavaScript library enabling SVG icons to morph from one to the other. It implements Material Design's Delightful Details transitions. (THIS PROJECT IS NOT MAINTAINED ANYMORE)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Clone is not defined svg-morpheus.js:231

GarrettHartley opened this issue · comments

commented

I am trying to morph an svg

 var myIcons = new SVGMorpheus('#iconset')
 myIcons.to('icon1')

I am seeing the following error:

svg-morpheus.js:231 Uncaught ReferenceError: clone is not defined

I figured maybe this was jQuery's clone method you are trying to use so I included jQuery, but I am still having the same issue.

The clone method is in helpers.js.