gf-tutorial: fix link to JavaScript translator demo

After fixing trivial problem in translator.html, the demo works, but
the example grammar contains only one langauge, so it is not so
interesting. translator.html is located in src/runtime/javascript.
The editor.html in the same location also works.
This commit is contained in:
Thomas Hallgren
2019-05-03 14:52:28 +02:00
parent fd29925173
commit 61fe167392
2 changed files with 2 additions and 2 deletions

View File

@@ -32,7 +32,7 @@
</script>
<title>Web-based GF Translator</title>
</head>
<body onload="populateLangs(Food, 'fromLang', 'toLang')">
<body onload="populateLangs(grammar, 'fromLang', 'toLang')">
<form id="translate">
<p>
<input type="text" name="inputText" id="inputText" value="this cheese is warm" size="50" />