From 0c3f82855bce0477fb6d17c85903b7dfccee0834 Mon Sep 17 00:00:00 2001 From: "jeremy@jermolene.com" Date: Sun, 29 May 2022 10:55:15 +0100 Subject: [PATCH] Minor cleanups --- core/modules/widgets/fill.js | 2 +- core/modules/widgets/widget.js | 1 - core/wiki/macros/tabs.tid | 10 ---------- 3 files changed, 1 insertion(+), 12 deletions(-) diff --git a/core/modules/widgets/fill.js b/core/modules/widgets/fill.js index c9a8a94de..212621b1a 100644 --- a/core/modules/widgets/fill.js +++ b/core/modules/widgets/fill.js @@ -1,5 +1,5 @@ /*\ -title: $:/core/modules/widgets/value.js +title: $:/core/modules/widgets/fill.js type: application/javascript module-type: widget diff --git a/core/modules/widgets/widget.js b/core/modules/widgets/widget.js index d8b201554..adb446a34 100755 --- a/core/modules/widgets/widget.js +++ b/core/modules/widgets/widget.js @@ -468,7 +468,6 @@ Widget.prototype.makeChildWidgets = function(parseTreeNodes,options) { var self = this; // Check for too much recursion if(this.getAncestorCount() > MAX_WIDGET_TREE_DEPTH) { - // Error message needs special permission not to cause a recursive error loop this.children.push(this.makeChildWidget({type: "error", attributes: { "$message": {type: "string", value: $tw.language.getString("Error/RecursiveTransclusion")} }})); diff --git a/core/wiki/macros/tabs.tid b/core/wiki/macros/tabs.tid index 8fb07c8cc..73eb3fb05 100644 --- a/core/wiki/macros/tabs.tid +++ b/core/wiki/macros/tabs.tid @@ -46,16 +46,6 @@ is-macro: yes \end -\?define __tabsList__() -\?define __default__() -\?define __state__() -\?define __class__() -\?define __template__() -\?define __buttonTemplate__() -\?define __retain__() -\?define __actions__() -\?define __explicitState__() - \whitespace trim <$qualify title=<<__state__>> name="qualifiedState"> <$set name="tabsState" filter={{{ [<__explicitState__>minlength[1]] ~[] }}}>