diff --git a/plugins/tiddlywiki/confetti/confetti-manager.js b/plugins/tiddlywiki/confetti/confetti-manager.js index 66ccb427e..5ffb48fe0 100644 --- a/plugins/tiddlywiki/confetti/confetti-manager.js +++ b/plugins/tiddlywiki/confetti/confetti-manager.js @@ -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; - -})(); diff --git a/plugins/tiddlywiki/confetti/confetti-widget.js b/plugins/tiddlywiki/confetti/confetti-widget.js index c3bbc25e3..f26dc3e05 100644 --- a/plugins/tiddlywiki/confetti/confetti-widget.js +++ b/plugins/tiddlywiki/confetti/confetti-widget.js @@ -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; - -})(); diff --git a/plugins/tiddlywiki/confetti/startup.js b/plugins/tiddlywiki/confetti/startup.js index fafbecee7..1ece709eb 100644 --- a/plugins/tiddlywiki/confetti/startup.js +++ b/plugins/tiddlywiki/confetti/startup.js @@ -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(); }); }; - -})(); diff --git a/plugins/tiddlywiki/dynannotate/modules/element-spotlight.js b/plugins/tiddlywiki/dynannotate/modules/element-spotlight.js index 9a7ab71ad..fea230d55 100644 --- a/plugins/tiddlywiki/dynannotate/modules/element-spotlight.js +++ b/plugins/tiddlywiki/dynannotate/modules/element-spotlight.js @@ -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; - -})(); diff --git a/plugins/tiddlywiki/dynannotate/modules/startup.js b/plugins/tiddlywiki/dynannotate/modules/startup.js index cdcbd4bfb..a7c4af252 100644 --- a/plugins/tiddlywiki/dynannotate/modules/startup.js +++ b/plugins/tiddlywiki/dynannotate/modules/startup.js @@ -8,8 +8,6 @@ module-type: startup Startup the dyannotate background daemon to track the selection \*/ -(function(){ - "use strict"; // Export name and synchronous status @@ -56,5 +54,3 @@ exports.startup = function() { $tw.dynannotate.elementSpotlight.shineSpotlight(selectors); }); }; - -})(); diff --git a/plugins/tiddlywiki/innerwiki/anchor.js b/plugins/tiddlywiki/innerwiki/anchor.js index 584370256..6b37cc97d 100644 --- a/plugins/tiddlywiki/innerwiki/anchor.js +++ b/plugins/tiddlywiki/innerwiki/anchor.js @@ -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; - -})(); diff --git a/plugins/tiddlywiki/qrcode/barcodereader.js b/plugins/tiddlywiki/qrcode/barcodereader.js index f44ec4c0e..ceba2b36b 100644 --- a/plugins/tiddlywiki/qrcode/barcodereader.js +++ b/plugins/tiddlywiki/qrcode/barcodereader.js @@ -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; - -})();