From 38dd301a2dcf86525db162f77bf15d2e50526fb8 Mon Sep 17 00:00:00 2001 From: FCGudder <-@-> Date: Wed, 21 Jun 2017 12:11:26 +0200 Subject: [PATCH] Removing debug statements --- src/uncategorized/buildingWidgets.tw | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/uncategorized/buildingWidgets.tw b/src/uncategorized/buildingWidgets.tw index 4f2bd8d8869..947f3c0e2e4 100644 --- a/src/uncategorized/buildingWidgets.tw +++ b/src/uncategorized/buildingWidgets.tw @@ -54,6 +54,7 @@ Yes, I am aware this is horrible. If anyone can figure out how to get widgets to </style> <<script>> +/* This code only runs once per page load */ if(!Macro.has('sectorblock')) { /* Usage: <<sectorblock sector index "other text (optional)">> */ Macro.add('sectorblock', { @@ -102,7 +103,6 @@ if(!Macro.has('sectorblock')) { }, handler() { - console.log(this); let sec = this.args[0]; if(!sec || !sec.type) { return; @@ -116,7 +116,6 @@ if(!Macro.has('sectorblock')) { + '[[' + name + '|' + basetype + '][$AS=' + this.args[1] + ']]' + (meta.extra || '') + (this.args[2] || '') + '</td>'; - console.log(text); new Wikifier(this.output, text); }, }); -- GitLab