1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-12 11:10:27 +00:00

Minor cleanups

This commit is contained in:
jeremy@jermolene.com 2022-05-29 10:55:15 +01:00
parent 8106ad390d
commit 0c3f82855b
3 changed files with 1 additions and 12 deletions

View File

@ -1,5 +1,5 @@
/*\ /*\
title: $:/core/modules/widgets/value.js title: $:/core/modules/widgets/fill.js
type: application/javascript type: application/javascript
module-type: widget module-type: widget

View File

@ -468,7 +468,6 @@ Widget.prototype.makeChildWidgets = function(parseTreeNodes,options) {
var self = this; var self = this;
// Check for too much recursion // Check for too much recursion
if(this.getAncestorCount() > MAX_WIDGET_TREE_DEPTH) { 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: { this.children.push(this.makeChildWidget({type: "error", attributes: {
"$message": {type: "string", value: $tw.language.getString("Error/RecursiveTransclusion")} "$message": {type: "string", value: $tw.language.getString("Error/RecursiveTransclusion")}
}})); }}));

View File

@ -46,16 +46,6 @@ is-macro: yes
</$list> </$list>
\end \end
\?define __tabsList__()
\?define __default__()
\?define __state__()
\?define __class__()
\?define __template__()
\?define __buttonTemplate__()
\?define __retain__()
\?define __actions__()
\?define __explicitState__()
\whitespace trim \whitespace trim
<$qualify title=<<__state__>> name="qualifiedState"> <$qualify title=<<__state__>> name="qualifiedState">
<$set name="tabsState" filter={{{ [<__explicitState__>minlength[1]] ~[<qualifiedState>] }}}> <$set name="tabsState" filter={{{ [<__explicitState__>minlength[1]] ~[<qualifiedState>] }}}>