This commit is contained in:
@@ -20,9 +20,8 @@ export async function compileCards() {
|
||||
template = await (await fetch(url)).text();
|
||||
}
|
||||
|
||||
let arrayTemplate = template.split("\n");
|
||||
arrayTemplate.splice(0, 1);
|
||||
template = arrayTemplate.join("\n");
|
||||
template = template.replace(/\<\?.*\?\>/gm, "");
|
||||
|
||||
return [
|
||||
Number(k.match(regex)![0]).toString(),
|
||||
// markRaw(
|
||||
@@ -80,10 +79,7 @@ export async function compileTokens() {
|
||||
} else {
|
||||
template = await (await fetch(url)).text();
|
||||
}
|
||||
|
||||
let arrayTemplate = template.split("\n");
|
||||
arrayTemplate.splice(0, 1);
|
||||
template = arrayTemplate.join("\n");
|
||||
template = template.replace(/\<\?.*\?\>/gm, "");
|
||||
return [
|
||||
k.match(regex)![0].toString(),
|
||||
markRaw(
|
||||
|
||||
Reference in New Issue
Block a user