typescript(translucid): testing automated update
Signed-off-by: prescientmoon <git@moonythm.dev>
This commit is contained in:
parent
0d81041041
commit
150648e4b3
2
typescript/translucid/.gitignore
vendored
2
typescript/translucid/.gitignore
vendored
|
@ -1,3 +1,5 @@
|
||||||
|
update.bat
|
||||||
|
|
||||||
# Logs
|
# Logs
|
||||||
logs
|
logs
|
||||||
*.log
|
*.log
|
||||||
|
|
|
@ -26,7 +26,7 @@ class Translucid {
|
||||||
for (let i in object) {
|
for (let i in object) {
|
||||||
const classes = object[i].classes || [];
|
const classes = object[i].classes || [];
|
||||||
this.bind(i, object[i].file, classes);
|
this.bind(i, object[i].file, classes);
|
||||||
console.log(`Binded room with name ${i} and path ${object[i].path} with classes ${classes}`);
|
console.log(`Binded room with name ${i} and path ${object[i].file} with classes ${classes}`);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
bind(path = "/", filepath = "", classes = []) {
|
bind(path = "/", filepath = "", classes = []) {
|
||||||
|
|
|
@ -31,7 +31,7 @@ class Translucid {
|
||||||
for (let i in object){
|
for (let i in object){
|
||||||
const classes = object[i].classes || [];
|
const classes = object[i].classes || [];
|
||||||
this.bind(i,object[i].file,classes);
|
this.bind(i,object[i].file,classes);
|
||||||
console.log(`Binded room with name ${i} and path ${object[i].path} with classes ${classes}`)
|
console.log(`Binded room with name ${i} and path ${object[i].file} with classes ${classes}`)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
bind(path:string = "/", filepath:string = "", classes:Array<string> = []):void{
|
bind(path:string = "/", filepath:string = "", classes:Array<string> = []):void{
|
||||||
|
|
Loading…
Reference in a new issue