mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-07-13 07:24:21 +00:00
b7f674c51a
This is the beginning of addressing #523.
27 lines
448 B
JavaScript
27 lines
448 B
JavaScript
/*\
|
|
title: $:/core/modules/filters/all/tiddlers.js
|
|
type: application/javascript
|
|
module-type: allfilteroperator
|
|
|
|
Filter function for [all[tiddlers]]
|
|
|
|
\*/
|
|
(function(){
|
|
|
|
/*jslint node: true, browser: true */
|
|
/*global $tw: false */
|
|
"use strict";
|
|
|
|
/*
|
|
Export our filter function
|
|
*/
|
|
exports.tiddlers = function(source,prefix,options) {
|
|
var results = [];
|
|
options.wiki.each(function(tiddler,title) {
|
|
results.push(title);
|
|
});
|
|
return results;
|
|
};
|
|
|
|
})();
|