mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-04 07:19:56 +00:00
Minor cleanups
This commit is contained in:
parent
8106ad390d
commit
0c3f82855b
@ -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
|
||||||
|
|
||||||
|
@ -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")}
|
||||||
}}));
|
}}));
|
||||||
|
@ -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>] }}}>
|
||||||
|
Loading…
Reference in New Issue
Block a user