From 055ea8d746bc3eea5ccdd159c6a6870aaed62e1b Mon Sep 17 00:00:00 2001 From: BurningTreeC Date: Thu, 24 Oct 2024 14:59:26 +0200 Subject: [PATCH] updates --- TiddlyFlex/css/base.tid | 2 +- .../modules/widgets/subclasses/transclude.js | 56 ------------------- TiddlyFlex/files/tiddlywiki.files | 7 --- TiddlyFlex/global/css/css.tid | 4 +- TiddlyFlex/plugin.info | 2 +- 5 files changed, 4 insertions(+), 67 deletions(-) delete mode 100644 TiddlyFlex/files/modules/widgets/subclasses/transclude.js diff --git a/TiddlyFlex/css/base.tid b/TiddlyFlex/css/base.tid index c5e7428..40506cc 100644 --- a/TiddlyFlex/css/base.tid +++ b/TiddlyFlex/css/base.tid @@ -234,7 +234,7 @@ tags: $:/tags/Stylesheet } .tc-tiddlyflex-story-river .tc-navigating .tc-tiddler-frame { - border: 2px dashed <>; + outline: 2px dashed <>; } /***********/ diff --git a/TiddlyFlex/files/modules/widgets/subclasses/transclude.js b/TiddlyFlex/files/modules/widgets/subclasses/transclude.js deleted file mode 100644 index 4e32391..0000000 --- a/TiddlyFlex/files/modules/widgets/subclasses/transclude.js +++ /dev/null @@ -1,56 +0,0 @@ -/*\ -title: $:/plugins/BTC/TiddlyFlex/modules/widgets/subclasses/transclude.js -type: application/javascript -module-type: widget-subclass - -Widget base class - -\*/ -(function(){ - -/*jslint node: true, browser: true */ -/*global $tw: false */ -"use strict"; - -exports.baseClass = "transclude"; - -exports.constructor = function(parseTreeNode,options) { - this.initialise(parseTreeNode,options); -}; - -exports.prototype = {}; - -exports.prototype.findParentContainedElement = function() { - var widget = this; - while(widget) { - for(var i=0; i 0) || (this.transcludeVariableIsFunction && this.functionNeedsRefresh()) || (!this.transcludeVariable && changedTiddlers[this.transcludeTitle] && this.parserNeedsRefresh())) { - var containedElement = this.findParentContainedElement(); - this.refreshSelf(); - if(containedElement) { - $tw.utils.setStyle(containedElement,[ - { contain: null } - ]); - } - return true; - } else { - return this.refreshChildren(changedTiddlers); - } -}; - -})(); \ No newline at end of file diff --git a/TiddlyFlex/files/tiddlywiki.files b/TiddlyFlex/files/tiddlywiki.files index 380514e..f6d79a9 100644 --- a/TiddlyFlex/files/tiddlywiki.files +++ b/TiddlyFlex/files/tiddlywiki.files @@ -70,13 +70,6 @@ "title": "$:/plugins/BTC/TiddlyFlex/modules/widgets/subclasses/droppable.js", "module-type": "widget-subclass" } - },{ - "file": "modules/widgets/subclasses/transclude.js", - "fields": { - "type": "application/javascript", - "title": "$:/plugins/BTC/TiddlyFlex/modules/widgets/subclasses/transclude.js", - "module-type": "widget-subclass" - } } ] } \ No newline at end of file diff --git a/TiddlyFlex/global/css/css.tid b/TiddlyFlex/global/css/css.tid index 4d228f9..fe7f68d 100644 --- a/TiddlyFlex/global/css/css.tid +++ b/TiddlyFlex/global/css/css.tid @@ -5,7 +5,7 @@ tags: $:/tags/Global \rules only filteredtranscludeinline transcludeinline macrodef macrocallinline macrocallblock whitespace .tc-tiddlyflex-story-river-{{{ [[$(currentColumn)$]substitute[]] }}} .tc-tiddlyflex-story-river-inner > [data-tiddler-title={{{ [[$(cssEscapedTitle)$]substitute[]addprefix["]addsuffix["]] }}}]:not(.tc-navigating) > .tc-tiddler-frame { - border: 1px solid <>; + outline: 1px solid <>; } \end @@ -14,7 +14,7 @@ tags: $:/tags/Global \rules only filteredtranscludeinline transcludeinline macrodef macrocallinline macrocallblock whitespace .tc-tiddlyflex-story-river-{{{ [[$(column)$]substitute[]] }}} .tc-tiddlyflex-story-river-inner > [data-tiddler-title={{{ [[$(cssEscapedTitle)$]substitute[]addprefix["]addsuffix["]] }}}]:not(.tc-navigating) > .tc-tiddler-frame { - border: 1px solid <>; + outline: 1px solid <>; } \end diff --git a/TiddlyFlex/plugin.info b/TiddlyFlex/plugin.info index c8201e7..814e356 100644 --- a/TiddlyFlex/plugin.info +++ b/TiddlyFlex/plugin.info @@ -4,7 +4,7 @@ "name": "TiddlyFlex", "plugin-type": "plugin", "author": "Simon Huber", - "version": "0.6.3", + "version": "0.6.4", "core-version": ">=5.3.3", "source": "https://github.com/BurningTreeC/TiddlyFlex", "list": "readme license"