gfse: show grammar comments in the list of public grammars

gf -server now includes the comment field from the grammar in the
response to /cloud requests with command=ls-t and ext=.json
This commit is contained in:
Thomas Hallgren
2018-03-29 18:23:32 +02:00
parent 750a1349ff
commit 3d6a5e8864
2 changed files with 14 additions and 4 deletions

View File

@@ -179,6 +179,7 @@ function draw_grammar_list() {
td(title(tip,
a(jsurl('open_public("'+file+'")'),
[text(basename)]))),
td(text(files[i].comment||"")),
td(when)]))
}
}