1
Fork 0

typescript(translucid): testing automated update

Signed-off-by: prescientmoon <git@moonythm.dev>
This commit is contained in:
Matei Adriel 2019-01-22 21:11:05 +02:00 committed by prescientmoon
parent 0d81041041
commit 150648e4b3
Signed by: prescientmoon
SSH key fingerprint: SHA256:UUF9JT2s8Xfyv76b8ZuVL7XrmimH4o49p4b+iexbVH4
3 changed files with 4 additions and 2 deletions

View file

@ -1,3 +1,5 @@
update.bat
# Logs
logs
*.log

View file

@ -26,7 +26,7 @@ class Translucid {
for (let i in object) {
const classes = object[i].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 = []) {

View file

@ -31,7 +31,7 @@ class Translucid {
for (let i in object){
const classes = object[i].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{