diff --git a/typescript/translucid/.gitignore b/typescript/translucid/.gitignore index ad46b30..daf2ca9 100644 --- a/typescript/translucid/.gitignore +++ b/typescript/translucid/.gitignore @@ -1,3 +1,5 @@ +update.bat + # Logs logs *.log diff --git a/typescript/translucid/Translucid.js b/typescript/translucid/Translucid.js index 322148c..2f8e50b 100644 --- a/typescript/translucid/Translucid.js +++ b/typescript/translucid/Translucid.js @@ -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 = []) { diff --git a/typescript/translucid/Translucid.ts b/typescript/translucid/Translucid.ts index 95eb0d4..b5d3819 100644 --- a/typescript/translucid/Translucid.ts +++ b/typescript/translucid/Translucid.ts @@ -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 = []):void{