diff --git a/typescript/translucid/Translucid.js b/typescript/translucid/Translucid.js index 50c3605..82b5d86 100644 --- a/typescript/translucid/Translucid.js +++ b/typescript/translucid/Translucid.js @@ -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 = []) { diff --git a/typescript/translucid/Translucid.ts b/typescript/translucid/Translucid.ts index 6471697..e658359 100644 --- a/typescript/translucid/Translucid.ts +++ b/typescript/translucid/Translucid.ts @@ -31,6 +31,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:string = "/", filepath:string = "", classes:Array = []):void{