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:
parent
5f551ca46f
commit
4e28742aa6
@ -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;
|
||||||
|
|
||||||
})();
|
|
||||||
|
@ -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;
|
||||||
|
|
||||||
})();
|
|
||||||
|
@ -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();
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
})();
|
|
||||||
|
@ -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;
|
||||||
|
|
||||||
})();
|
|
||||||
|
@ -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);
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
})();
|
|
||||||
|
@ -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;
|
||||||
|
|
||||||
})();
|
|
||||||
|
@ -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;
|
||||||
|
|
||||||
})();
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user