From be1b16e2600fb56d143a736ab0ae219c243ff45e Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Wed, 7 Aug 2013 16:05:56 +0100 Subject: [PATCH] Add a new standard field called "list" that contains a list of tiddler titles --- boot/boot.js | 30 +++++++++++++++++++----------- 1 file changed, 19 insertions(+), 11 deletions(-) diff --git a/boot/boot.js b/boot/boot.js index c0765e19d..57400121a 100644 --- a/boot/boot.js +++ b/boot/boot.js @@ -254,6 +254,19 @@ $tw.utils.parseDate = function(value) { } }; +// Stringify an array of tiddler titles into a list string +$tw.utils.stringifyList = function(value) { + var result = []; + for(var t=0; t