mirror of
git://git.psyced.org/git/psyced
synced 2024-08-15 03:25:10 +00:00
spit out topic on js export
This commit is contained in:
parent
33748d34d2
commit
56fba9c21f
1 changed files with 7 additions and 1 deletions
|
@ -572,7 +572,13 @@ htget(prot, query, headers, qs, data, noprocess) {
|
||||||
write("\ndocument."+ (query["name"] || MYLOWERNICK)
|
write("\ndocument."+ (query["name"] || MYLOWERNICK)
|
||||||
+ " = new Array(\n");
|
+ " = new Array(\n");
|
||||||
logView(a, "ecmascript", 15);
|
logView(a, "ecmascript", 15);
|
||||||
write(" \""+ implode(names(), ", ")+"\")\n\n");
|
write(" \""+ implode(names(), ", ")+"\""
|
||||||
|
#if defined(ALPHA) && defined(PLACE_TOPIC)
|
||||||
|
// this adds current topic to data structure
|
||||||
|
// but probably breaks all psyclog.js code
|
||||||
|
",\n\t\""+ v("topic") +"\""
|
||||||
|
#endif
|
||||||
|
")\n\n");
|
||||||
break;
|
break;
|
||||||
#if 0
|
#if 0
|
||||||
case "json":
|
case "json":
|
||||||
|
|
Loading…
Reference in a new issue