mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-09-09 14:26:07 +00:00
Somewhat simpler implementation
This commit is contained in:
@@ -67,6 +67,8 @@ TranscludeWidget.prototype.execute = function() {
|
|||||||
if(this.recursionMarker === "yes") {
|
if(this.recursionMarker === "yes") {
|
||||||
this.setVariable("transclusion",recursionMarker);
|
this.setVariable("transclusion",recursionMarker);
|
||||||
}
|
}
|
||||||
|
// Set 'thisTiddler'
|
||||||
|
this.setVariable("thisTiddler",this.transcludeTitle);
|
||||||
// Check for recursion
|
// Check for recursion
|
||||||
if(parser) {
|
if(parser) {
|
||||||
if(this.parentWidget && this.parentWidget.hasVariable("transclusion",recursionMarker)) {
|
if(this.parentWidget && this.parentWidget.hasVariable("transclusion",recursionMarker)) {
|
||||||
|
Reference in New Issue
Block a user