jdlrobson/tiddlywiki — comment on commit 3171bb07e871acbbfac47e719c30b5a8da6862a6
File: html/tiddlywiki.template.html line 83
By jdlrobson:

In IRC @cdent and @fnd suggests javascript would be more useful here rather than html

If this is the case then it would make sense to use something like:

var TIDDLYWIKI_CONFIG = { host: "http://tiddlyspace.com", workspace: "bags/common" }

which could appear before any javascript was loaded, wrapped in the POST-CONFIG-START and POST-CONFIG-END

Alternatively we might embed a json into a dom element

or in a script tag

accessing via

jQuery("script[type='application/json']").text()

What other alternatives are there?