spit out topic on js export

This commit is contained in:
psyc://psyced.org/~lynX 2009-10-03 13:38:37 +02:00
parent 33748d34d2
commit 56fba9c21f

View File

@ -572,7 +572,13 @@ htget(prot, query, headers, qs, data, noprocess) {
write("\ndocument."+ (query["name"] || MYLOWERNICK)
+ " = new Array(\n");
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;
#if 0
case "json":