mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-04-22 10:43:11 +00:00
Remove function wrappers from plugins (#9030)
This commit is contained in:
parent
5f551ca46f
commit
4e28742aa6
@ -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;
|
||||
|
||||
})();
|
||||
|
@ -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;
|
||||
|
||||
})();
|
||||
|
@ -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);
|
||||
});
|
||||
};
|
||||
|
||||
})();
|
||||
|
@ -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;
|
||||
|
||||
})();
|
||||
|
Loading…
x
Reference in New Issue
Block a user