mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-09-19 18:59:42 +00:00
b7f674c51a
This is the beginning of addressing #523.
23 lines
376 B
JavaScript
23 lines
376 B
JavaScript
/*\
|
|
title: $:/core/modules/filters/all/orphans.js
|
|
type: application/javascript
|
|
module-type: allfilteroperator
|
|
|
|
Filter function for [all[orphans]]
|
|
|
|
\*/
|
|
(function(){
|
|
|
|
/*jslint node: true, browser: true */
|
|
/*global $tw: false */
|
|
"use strict";
|
|
|
|
/*
|
|
Export our filter function
|
|
*/
|
|
exports.orphans = function(source,prefix,options) {
|
|
return options.wiki.getOrphanTitles();
|
|
};
|
|
|
|
})();
|