mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-24 03:52:50 -06:00
Demo page: add a version of the minibar that shows just the MOLTO Application grammars
This commit is contained in:
19
demos/molto_grammars.js
Normal file
19
demos/molto_grammars.js
Normal file
@@ -0,0 +1,19 @@
|
||||
var online_options={
|
||||
grammars_url: "/grammars/molto/"
|
||||
}
|
||||
|
||||
var minibar_options= {
|
||||
show_abstract: true,
|
||||
show_trees: true,
|
||||
tree_img_format: "svg", // or "png"
|
||||
show_grouped_translations: false,
|
||||
to_multiple: false,
|
||||
show_brackets: true,
|
||||
word_replacements: true,
|
||||
default_source_language: "Eng",
|
||||
feedback_url: "feedback.html",
|
||||
try_google: true
|
||||
}
|
||||
|
||||
var server=pgf_online(online_options);
|
||||
var minibar=new Minibar(server,minibar_options);
|
||||
Reference in New Issue
Block a user