forked from GitHub/gf-core
minibar: define grammar_list in config.js to restrict the grammar menu
minibar.html now reads config.js and if it defines grammar_list, only the grammars listed there will show up in the grammar menu.
This commit is contained in:
@@ -7,6 +7,8 @@ var online_options={
|
||||
//grammar_list: ["Foods.pgf"], // leave undefined to get list from server
|
||||
}
|
||||
|
||||
if(window.grammar_list) online_options.grammar_list=grammar_list
|
||||
|
||||
var minibar_options= {
|
||||
show_abstract: true,
|
||||
show_trees: true,
|
||||
|
||||
Reference in New Issue
Block a user