Merge branch 'master' into colour-improvements

This commit is contained in:
Jeremy Ruston
2025-04-16 14:31:47 +01:00
65 changed files with 172 additions and 450 deletions
@@ -6,7 +6,6 @@ module-type: global
Confetti manager
\*/
(function(){
"use strict";
var confetti = require("$:/plugins/tiddlywiki/confetti/confetti.js");
@@ -49,5 +48,3 @@ ConfettiManager.prototype.reset = function () {
};
exports.ConfettiManager = ConfettiManager;
})();
@@ -6,7 +6,6 @@ module-type: widget
Confetti widget
\*/
(function(){
"use strict";
var Widget = require("$:/core/modules/widgets/widget.js").widget;
@@ -60,5 +59,3 @@ ConfettiWidget.prototype.refresh = function(changedTiddlers) {
};
exports.confetti = ConfettiWidget;
})();
-3
View File
@@ -6,7 +6,6 @@ module-type: startup
Setup the root widget event handlers
\*/
(function(){
"use strict";
// Export name and synchronous status
@@ -56,5 +55,3 @@ exports.startup = function() {
$tw.confettiManager.reset();
});
};
})();
@@ -6,7 +6,6 @@ module-type: library
Manages the element spotlight effect
\*/
(function(){
"use strict";
function ElementSpotlight() {
@@ -129,5 +128,3 @@ ElementSpotlight.prototype.shineSpotlight = function(selectors) {
};
exports.ElementSpotlight = ElementSpotlight;
})();
@@ -1,5 +1,3 @@
const { ElementSpotlight } = require("./element-spotlight");
/*\
title: $:/plugins/tiddlywiki/dynannotate/startup.js
type: application/javascript
@@ -8,8 +6,6 @@ module-type: startup
Startup the dyannotate background daemon to track the selection
\*/
(function(){
"use strict";
// Export name and synchronous status
@@ -56,5 +52,3 @@ exports.startup = function() {
$tw.dynannotate.elementSpotlight.shineSpotlight(selectors);
});
};
})();
-3
View File
@@ -6,9 +6,6 @@ module-type: widget
Anchor widget to represent an innerwiki graphical anchor. Clone of the data widget
\*/
(function(){
"use strict";
exports.anchor = require("$:/core/modules/widgets/data.js").data;
})();
@@ -6,7 +6,6 @@ module-type: widget
barcodereader widget for reading barcodes
\*/
(function(){
"use strict";
var Widget = require("$:/core/modules/widgets/widget.js").widget;
@@ -83,5 +82,3 @@ BarCodeReaderWidget.prototype.refresh = function(changedTiddlers) {
};
exports.barcodereader = BarCodeReaderWidget;
})();
+1 -1
View File
@@ -66,7 +66,7 @@ Generate sharing link
!! 5 - Export the shared tiddlers
<$button>
<$action-sendmessage $message="tm-download-file" $param="$:/core/templates/exporters/JsonFile" exportFilter={{$:/config/plugins/share/filter}} filename="tiddlers.json"/>
<$action-sendmessage $message="tm-download-file" $param="$:/core/templates/exporters/JsonFile" exportFilter={{$:/config/plugins/share/filter}} filename="tiddlers.json" type="application/json"/>
Export as JSON
</$button>