mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-08-28 12:02:40 +00:00
![Cameron Fischer](/assets/img/avatar_default.png)
* 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
465 B
JavaScript
26 lines
465 B
JavaScript
/*\
|
|
title: $:/core/modules/filterrunprefixes/except.js
|
|
type: application/javascript
|
|
module-type: filterrunprefix
|
|
|
|
Difference of sets.
|
|
Equivalent to - filter run prefix.
|
|
|
|
\*/
|
|
(function(){
|
|
|
|
/*jslint node: true, browser: true */
|
|
/*global $tw: false */
|
|
"use strict";
|
|
|
|
/*
|
|
Export our filter prefix function
|
|
*/
|
|
exports.except = function(operationSubFunction) {
|
|
return function(results,source,widget) {
|
|
results.remove(operationSubFunction(source,widget));
|
|
};
|
|
};
|
|
|
|
})();
|