1
0
forked from GitHub/gf-core

translation quiz: a small change to make easy to select an alternate grammar directory

This commit is contained in:
hallgren
2011-02-18 11:51:41 +00:00
parent 8dd2a1ddc0
commit c2c8f34288

View File

@@ -139,6 +139,10 @@
//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 minibar_options= {