1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-08-07 14:23:53 +00:00

Remove function wrappers from plugins (#9030)

This commit is contained in:
Mario Pietsch 2025-04-14 19:28:04 +02:00 committed by GitHub
parent 5f551ca46f
commit 4e28742aa6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
7 changed files with 0 additions and 22 deletions

View File

@ -6,7 +6,6 @@ module-type: global
Confetti manager Confetti manager
\*/ \*/
(function(){
"use strict"; "use strict";
var confetti = require("$:/plugins/tiddlywiki/confetti/confetti.js"); var confetti = require("$:/plugins/tiddlywiki/confetti/confetti.js");
@ -49,5 +48,3 @@ ConfettiManager.prototype.reset = function () {
}; };
exports.ConfettiManager = ConfettiManager; exports.ConfettiManager = ConfettiManager;
})();

View File

@ -6,7 +6,6 @@ module-type: widget
Confetti widget Confetti widget
\*/ \*/
(function(){
"use strict"; "use strict";
var Widget = require("$:/core/modules/widgets/widget.js").widget; var Widget = require("$:/core/modules/widgets/widget.js").widget;
@ -60,5 +59,3 @@ ConfettiWidget.prototype.refresh = function(changedTiddlers) {
}; };
exports.confetti = ConfettiWidget; exports.confetti = ConfettiWidget;
})();

View File

@ -6,7 +6,6 @@ module-type: startup
Setup the root widget event handlers Setup the root widget event handlers
\*/ \*/
(function(){
"use strict"; "use strict";
// Export name and synchronous status // Export name and synchronous status
@ -56,5 +55,3 @@ exports.startup = function() {
$tw.confettiManager.reset(); $tw.confettiManager.reset();
}); });
}; };
})();

View File

@ -6,7 +6,6 @@ module-type: library
Manages the element spotlight effect Manages the element spotlight effect
\*/ \*/
(function(){
"use strict"; "use strict";
function ElementSpotlight() { function ElementSpotlight() {
@ -129,5 +128,3 @@ ElementSpotlight.prototype.shineSpotlight = function(selectors) {
}; };
exports.ElementSpotlight = ElementSpotlight; exports.ElementSpotlight = ElementSpotlight;
})();

View File

@ -8,8 +8,6 @@ module-type: startup
Startup the dyannotate background daemon to track the selection Startup the dyannotate background daemon to track the selection
\*/ \*/
(function(){
"use strict"; "use strict";
// Export name and synchronous status // Export name and synchronous status
@ -56,5 +54,3 @@ exports.startup = function() {
$tw.dynannotate.elementSpotlight.shineSpotlight(selectors); $tw.dynannotate.elementSpotlight.shineSpotlight(selectors);
}); });
}; };
})();

View File

@ -6,9 +6,6 @@ module-type: widget
Anchor widget to represent an innerwiki graphical anchor. Clone of the data widget Anchor widget to represent an innerwiki graphical anchor. Clone of the data widget
\*/ \*/
(function(){
"use strict"; "use strict";
exports.anchor = require("$:/core/modules/widgets/data.js").data; exports.anchor = require("$:/core/modules/widgets/data.js").data;
})();

View File

@ -6,7 +6,6 @@ module-type: widget
barcodereader widget for reading barcodes barcodereader widget for reading barcodes
\*/ \*/
(function(){
"use strict"; "use strict";
var Widget = require("$:/core/modules/widgets/widget.js").widget; var Widget = require("$:/core/modules/widgets/widget.js").widget;
@ -83,5 +82,3 @@ BarCodeReaderWidget.prototype.refresh = function(changedTiddlers) {
}; };
exports.barcodereader = BarCodeReaderWidget; exports.barcodereader = BarCodeReaderWidget;
})();