typescript(translucid): i hate this bug
Signed-off-by: prescientmoon <git@moonythm.dev>
This commit is contained in:
parent
ec31174b1b
commit
3379d14686
2 changed files with 2 additions and 0 deletions
typescript/translucid
|
@ -26,6 +26,7 @@ class Translucid {
|
|||
for (let i in object) {
|
||||
const classes = object[i].classes || [];
|
||||
this.bind(object[i].path, object[i].file, classes);
|
||||
console.log(`Binded room with name ${object[i].file} and path ${object[i].filepath} with classes ${classes}`);
|
||||
}
|
||||
}
|
||||
bind(path = "/", filepath = "", classes = []) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue