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
7 changed files with 0 additions and 22 deletions

View File

@@ -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;
})();

View File

@@ -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;
})();

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();
});
};
})();