I'm trying to load a SVG using Snap.svg and adding it to several SVG elements on a page. I can make it work only loading one instance, but it fails when I add it to multiple elements.
s1 = Snap('#step1'); s2 = Snap('#step2'); s3 = Snap('#step3'); Snap.load('img/steps.svg', function (l) { s1.append(l); s2.append(l); s3.append(l); });
Here is a jsfiddle