Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught (in promise) TypeError: r is not a function #16

Open
nickgrato opened this issue Nov 29, 2021 · 0 comments
Open

Uncaught (in promise) TypeError: r is not a function #16

nickgrato opened this issue Nov 29, 2021 · 0 comments

Comments

@nickgrato
Copy link

Uncaught (in promise) TypeError: r is not a function

seems like there might be a bug here in the compiled code... looks to be in the "var maxmind_function " function?

var a, c = function() {
var e, t;
try {
t = (e = document.createElement("canvas")).getContext("2d")
} catch (e) {}
return t ? (t.fillStyle = "red",
t.fillRect(30, 10, 200, 100),
t.strokeStyle = "#1a3bc1",
t.lineWidth = 6,
t.lineCap = "round",
t.arc(50, 50, 20, 0, Math.PI, !1),
t.stroke(),
t.fillStyle = "#42e1a2",
t.font = "15.4px 'Arial'",
t.textBaseline = "alphabetic",
t.fillText("PR flacks quiz gym: TV DJ box when? ☠", 15, 60),
t.shadowOffsetX = 1,
t.shadowOffsetY = 2,
t.shadowColor = "white",
t.fillStyle = "rgba(0, 0, 200, 0.5)",
t.font = "60px 'Not a real font'",
t.fillText("No骗", 40, 80),
r(e.toDataURL())) : null
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant