mirror of
https://github.com/Jermolene/TiddlyWiki5.git
synced 2026-03-11 09:12:00 -07:00
18 lines
325 B
JavaScript
18 lines
325 B
JavaScript
/*\
|
|
title: $:/core/modules/macros/jsontiddlers.js
|
|
type: application/javascript
|
|
module-type: macro
|
|
\*/
|
|
|
|
"use strict";
|
|
|
|
exports.name = "jsontiddlers";
|
|
|
|
exports.params = [
|
|
{name: "filter"},
|
|
{name: "spaces"}
|
|
];
|
|
|
|
exports.run = function(filter,spaces) {
|
|
return this.wiki.getTiddlersAsJson(filter,$tw.utils.parseInt(spaces));
|
|
};
|