diff --git a/TiddlyFlex/files/modules/startup/widget.js b/TiddlyFlex/files/modules/startup/widget.js new file mode 100644 index 0000000..7636917 --- /dev/null +++ b/TiddlyFlex/files/modules/startup/widget.js @@ -0,0 +1,36 @@ +/*\ +title: $:/plugins/BTC/TiddlyFlex/modules/startup/widget.js +type: application/javascript +module-type: startup + +Overwriting the Base Widget refreshChildren method + +\*/ +(function(){ + +/*jslint node: true, browser: true */ +/*global $tw: false */ +"use strict"; + +exports.name = "tiddlyflex-widget"; +exports.platforms = ["browser"]; +exports.after = ["startup"]; +exports.synchronous = true; + +var Widget = require("$:/core/modules/widgets/widget.js").widget; + +Widget.prototype.refreshChildren = function(changedTiddlers,force) { + var children = this.children, + refreshed = false; + for(var i=0; i=5.3.3", "source": "https://github.com/BurningTreeC/TiddlyFlex", "list": "readme license"