Skip to content

Issue on Markup2D #2

@rodrigoconstruflow

Description

@rodrigoconstruflow

When loading the extension with chrome browser, console shows: The specified value "!" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
As it is a minified file, the issue is at line 1. So, i have unminified (http://unminify.com/) the file to track the issue. On the unmified version the issue happens at line 410 (bolded above) within function y(t, e, i, n, o).

function y(t, e, i, n, o) {
for (var r, s, a, u, l, c, h = e.createDocumentFragment(), d = [], p = 0, y = t.length; p < y; p++)
if (r = t[p], r || 0 === r)
if ("object" === lt.type(r)) lt.merge(d, r.nodeType ? [r] : r);
else if (jt.test(r)) {
for (s = s || h.appendChild(e.createElement("div")), a = (Vt.exec(r) || ["", ""])[1].toLowerCase(), u = Ft[a] || Ft._default, s.innerHTML = u[1] + lt.htmlPrefilter(r) + u[2], c = u[0]; c--;) s = s.lastChild;
lt.merge(d, s.childNodes), s = h.firstChild, s.textContent = ""
} else d.push(e.createTextNode(r));
for (h.textContent = "", p = 0; r = d[p++];)
if (n && lt.inArray(r, n) > -1) o && o.push(r);
else if (l = lt.contains(r.ownerDocument, r), s = f(h.appendChild(r), "script"), l && g(s), i)
for (c = 0; r = s[c++];) Ht.test(r.type || "") && i.push(r);
return h
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions