[Manual] Add scripts and raw wiki

This commit is contained in:
2023-02-28 12:07:24 +01:00
parent d29725b74a
commit 5320dc75f0
1482 changed files with 27397 additions and 3932 deletions

View File

@ -0,0 +1,17 @@
/*\
Load our custom polyfills, for old browsers support.
\*/
exports.startup = function() {
try {
// https://stackoverflow.com/a/63958411
String.prototype.replaceAllTxt = function replaceAll(search, replace) {
return this.split(search).join(replace);
};
} catch(e) {
const Str = `${e.stack.split('\n')[0]}: ${e}`
console.log(Str);
return Str;
};
};