1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-28 02:50:27 +00:00

jsontiddlers macro: parse "spaces" parameter as integer

This commit is contained in:
Jeremy Ruston 2020-04-15 15:27:53 +01:00
parent de5b0062b5
commit f21d013241

View File

@ -27,7 +27,7 @@ exports.params = [
Run the macro
*/
exports.run = function(filter,spaces) {
return this.wiki.getTiddlersAsJson(filter,spaces);
return this.wiki.getTiddlersAsJson(filter,$tw.utils.parseInt(spaces));
};
})();