forked from GitHub/gf-core
minibar: a small change to make easy to select an alternate grammar directory
This commit is contained in:
@@ -27,7 +27,7 @@ This page doesn't works unless JavaScript is enabled.
|
|||||||
& <a href="http://www.grammaticalframework.org:41296/translate/">Translator</a>]
|
& <a href="http://www.grammaticalframework.org:41296/translate/">Translator</a>]
|
||||||
</small>
|
</small>
|
||||||
<small class=modtime>
|
<small class=modtime>
|
||||||
HTML <!-- hhmts start --> Last modified: Tue Jan 11 14:15:22 CET 2011 <!-- hhmts end -->
|
HTML <!-- hhmts start --> Last modified: Thu Jan 27 21:58:51 CET 2011 <!-- hhmts end -->
|
||||||
</small>
|
</small>
|
||||||
<address>
|
<address>
|
||||||
<a href="http://www.cse.chalmers.se/~hallgren/">TH</a>
|
<a href="http://www.cse.chalmers.se/~hallgren/">TH</a>
|
||||||
@@ -42,6 +42,11 @@ var online_options={
|
|||||||
//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