1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2026-01-06 15:39:04 +00:00

Remove function wrappers

This commit is contained in:
Jeremy Ruston
2025-06-20 17:33:28 +01:00
parent 5335ebf044
commit a4c84d727c
7 changed files with 0 additions and 35 deletions

View File

@@ -6,10 +6,7 @@ module-type: global
Class to dispatch actions when filters change
\*/
(function(){
/*jslint node: true, browser: true */
/*global $tw: false */
"use strict";
function BackgroundActionDispatcher(filterTracker,wiki) {
@@ -125,5 +122,3 @@ BackgroundActionTracker.prototype.destroy = function() {
};
exports.BackgroundActionDispatcher = BackgroundActionDispatcher;
})();

View File

@@ -6,10 +6,7 @@ module-type: global
Class to track the results of a filter string
\*/
(function(){
/*jslint node: true, browser: true */
/*global $tw: false */
"use strict";
function FilterTracker(wiki) {
@@ -104,5 +101,3 @@ FilterTracker.prototype.processChanges = function(changes) {
};
exports.FilterTracker = FilterTracker;
})();

View File

@@ -6,10 +6,7 @@ module-type: filterrunprefix
Filter run prefix to make input titles available as variables when evaluating the filter run
\*/
(function(){
/*jslint node: true, browser: true */
/*global $tw: false */
"use strict";
exports.apply = function(operationSubFunction) {
@@ -25,5 +22,3 @@ exports.apply = function(operationSubFunction) {
results.pushTop(operationSubFunction(source,widget.makeFakeWidgetWithVariables(variables)));
};
};
})();

View File

@@ -6,10 +6,7 @@ module-type: filteroperator
Filter operator for retrieving the changecount for each title in the list.
\*/
(function(){
/*jslint node: true, browser: true */
/*global $tw: false */
"use strict";
/*
@@ -22,5 +19,3 @@ exports.changecount = function(source,operator,options) {
});
return results;
};
})();

View File

@@ -6,10 +6,7 @@ module-type: filteroperator
Filter operators for colour operations
\*/
(function(){
/*jslint node: true, browser: true */
/*global $tw: false */
"use strict";
var Color = require("$:/core/modules/utils/dom/color.js").Color,
@@ -141,5 +138,3 @@ function makeParallelColourOperator(fn) {
return fn(colours, operator, options, originalColours);
};
}
})();

View File

@@ -6,10 +6,7 @@ module-type: info
Initialise $:/info/ tiddlers derived from media queries via
\*/
(function(){
/*jslint node: true, browser: true */
/*global $tw: false */
"use strict";
exports.getInfoTiddlerFields = function(updateInfoTiddlersCallback) {
@@ -68,5 +65,3 @@ exports.getInfoTiddlerFields = function(updateInfoTiddlersCallback) {
}
return [];
};
})();

View File

@@ -6,10 +6,7 @@ module-type: utils
Color.js related utilities
\*/
(function(){
/*jslint node: true, browser: true */
/*global $tw: false */
"use strict";
var Color = require("$:/core/modules/utils/dom/color.js").Color;
@@ -56,5 +53,3 @@ exports.convertCSSColorToRGBString = function(colourString) {
return null;
}
};
})();