mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-02-18 20:10:02 +00:00
jsontiddlers macro: parse "spaces" parameter as integer
This commit is contained in:
parent
de5b0062b5
commit
f21d013241
@ -27,7 +27,7 @@ exports.params = [
|
|||||||
Run the macro
|
Run the macro
|
||||||
*/
|
*/
|
||||||
exports.run = function(filter,spaces) {
|
exports.run = function(filter,spaces) {
|
||||||
return this.wiki.getTiddlersAsJson(filter,spaces);
|
return this.wiki.getTiddlersAsJson(filter,$tw.utils.parseInt(spaces));
|
||||||
};
|
};
|
||||||
|
|
||||||
})();
|
})();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user