mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-11-03 03:03:21 -07:00
translation quiz: a small change to make easy to select an alternate grammar directory
This commit is contained in:
1 parent
8dd2a1ddc0
commit
c2c8f34288
1 file changed
+4
@@ -139,6 +139,10 @@
|
|||||||
//grammar_list: ["Foods.pgf"], // leave undefined to get list from server
|
//grammar_list: ["Foods.pgf"], // leave undefined to get list from server
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(/^\?\/tmp\//.test(location.search)) {
|
||||||
|
online_options.grammars_url=location.search.substr(1);
|
||||||
|
}
|
||||||
|
|
||||||
var server=pgf_online(online_options);
|
var server=pgf_online(online_options);
|
||||||
|
|
||||||
var minibar_options= {
|
var minibar_options= {
|
||||||
|
|||||||
Reference in new issue
Block a user