Skip to content

Instantly share code, notes, and snippets.

@BitTheByte
Created August 20, 2020 14:46
Show Gist options
  • Save BitTheByte/4912efb1f7b35c6c008e5b3e6fb8dbb1 to your computer and use it in GitHub Desktop.
Save BitTheByte/4912efb1f7b35c6c008e5b3e6fb8dbb1 to your computer and use it in GitHub Desktop.
d.src = function(n) {
return i.p + "assets/" + ({
0: "UserNameComplete",
1: "ActivateDone",
2: "EmailVerificationDone"
}[n] || n) + "-" + {
0: "d6c0c7fc8bc309d9b022",
1: "b05564267e6ac2c8cf9c",
2: "b41e54cddac2a06ec87a"
}[n] + ".js"
}(n),
r = function(t) {
d.onerror = d.onload = null,
clearTimeout(c);
var e = a[n];
if (0 !== e) {
if (e) {
var o = t && ("load" === t.type ? "missing" : t.type)
, r = t && t.target && t.target.src
, i = new Error("Loading chunk " + n + " failed.\n(" + o + ": " + r + ")");
i.type = o,
i.request = r,
e[1](i)
}
a[n] = void 0
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment