mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-09-20 19:29:43 +00:00
a857b4ab9a
* Changed the filterrunprefixes to use LinkedList * Testing for Linked List * Finishing touches to LinkedList * Minor corrections to link-list coding style * Corrected for sneaky bug in linkedList
26 lines
490 B
JavaScript
26 lines
490 B
JavaScript
/*\
|
|
title: $:/core/modules/filterrunprefixes/all.js
|
|
type: application/javascript
|
|
module-type: filterrunprefix
|
|
|
|
Union of sets without de-duplication.
|
|
Equivalent to = filter run prefix.
|
|
|
|
\*/
|
|
(function(){
|
|
|
|
/*jslint node: true, browser: true */
|
|
/*global $tw: false */
|
|
"use strict";
|
|
|
|
/*
|
|
Export our filter prefix function
|
|
*/
|
|
exports.all = function(operationSubFunction) {
|
|
return function(results,source,widget) {
|
|
results.push.apply(results, operationSubFunction(source,widget));
|
|
};
|
|
};
|
|
|
|
})();
|