From 3d6a5e88646e7147972d474e304dc99615f4b905 Mon Sep 17 00:00:00 2001 From: Thomas Hallgren Date: Thu, 29 Mar 2018 18:23:32 +0200 Subject: 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 --- src/www/gfse/editor.js | 1 + 1 file changed, 1 insertion(+) (limited to 'src/www') diff --git a/src/www/gfse/editor.js b/src/www/gfse/editor.js index cb93c305a..ddd8e0058 100644 --- a/src/www/gfse/editor.js +++ b/src/www/gfse/editor.js @@ -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)])) } } -- cgit v1.2.3