Open jviotti opened 8 years ago
I've un-minified the part of the script throwing the error and I see the following invalid JavaScript:
case "iconic-fluid":
d.push(a), e.push(a.replace(/-/, "-bg-"));
break;
The actual error is being thrown in this part:
f.each = function(a) {
if (a)
if ("string" == typeof a) h.debug(a);
else if (a instanceof SVGSVGElement) {
var c = a.getAttribute("data-icon");
if (c && j[c]) {
var d = j[c](a);
for (var e in d) a[e] = d[e]
}
/iconic-bg-/.test(a.getAttribute("class")) && g.addBackground(a), m(a), k++, b && b.each && "function" == typeof b.each && b.each(a)
}
}, "string" == typeof a && (a = document.querySelectorAll(a)), c(a, f, e)
I believe this comes from Iconic, but has a lot of syntax issues.
It's issue #625
I'm installing
foundation-apps
fromnpm
(v1.1.0), but when requiringdist/js/foundation-apps.js
with Browserify I get the following error: