TiddlySpace / tiddlyspace

A discoursive social model for tiddlers
http://tiddlyspace.com
Other
106 stars 38 forks source link

clean1: Include status.js as a script in friendly pages. #1099

Closed pads closed 11 years ago

pads commented 11 years ago

There are various things in the current TiddlySpace friendly HTML pages that require the tiddlyweb.status object from status.js, such as the backstage and reply. I noticed after adding the replanadu code that there are several requests for this script.

Making sure it is available before anything else and only loaded once is what is desired here. So it needs to be referenced from one of the templates (I suspect friendlytiddler.html and friendlytiddlers.html only).

This issue continues on from this discussion

pads commented 11 years ago

From IRC:

4:26p] cdent:
and trying to decide if it should happen on both the clean1 and the default versions of friendly*
[4:27p] cdent:
I assume yes, but ...

I would agree that this should be in the default and clean1 versions. I don't think this would break anything.

cdent commented 11 years ago

The naive thing (just adding the script) doesn't quite work since the data gets clobbered at some point in the processing. So doing some testing to suss things out.

_reply-loader.js loads /status so that needs to change to be any good.

Which is fine.