From 3379d14686498fc0d0526889f47ab122238ff204 Mon Sep 17 00:00:00 2001 From: Matei Adriel Date: Tue, 22 Jan 2019 21:04:23 +0200 Subject: [PATCH] typescript(translucid): i hate this bug Signed-off-by: prescientmoon --- typescript/translucid/Translucid.js | 1 + typescript/translucid/Translucid.ts | 1 + 2 files changed, 2 insertions(+) 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{