From a0ec59ccdad4507c7ff63317d8aad70394f927e5 Mon Sep 17 00:00:00 2001 From: hallgren Date: Wed, 3 Aug 2011 14:24:47 +0000 Subject: minibar: small code and documentation tweaks --- .../javascript/minibar/gf-web-api-examples.html | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) (limited to 'src/runtime/javascript/minibar/gf-web-api-examples.html') diff --git a/src/runtime/javascript/minibar/gf-web-api-examples.html b/src/runtime/javascript/minibar/gf-web-api-examples.html index cc310ec4f..c4be198b1 100644 --- a/src/runtime/javascript/minibar/gf-web-api-examples.html +++ b/src/runtime/javascript/minibar/gf-web-api-examples.html @@ -1,10 +1,12 @@ - + GF web services API examples - + + @@ -24,7 +29,7 @@ availiable in the GF shell is also available via the GF web services API.

The GF -Web Service API page describes the calls supported by the GF web service +Web Service API page describes the calls supported by the GF web service API. Below, we illustrate these calls by examples, and also show how to make these calls from JavaScript using the API defined in pgf_online.js. @@ -63,7 +68,8 @@ incomplete and might be made more complete in a future version...

["Foods.pgf","Phrasebook.pgf"]
// Select which grammar to use
server.switch_grammar("Foods.pgf") -
// Get grammar info (this method could be renamed) +
// Get concrete language list and other grammar info + (this method could be renamed)
server.get_languages(callback)
http://localhost:41296/grammars/Foods.pgf
{"name":"Foods", @@ -120,7 +126,9 @@ incomplete and might be made more complete in a future version... "text":""}]
- Last modified: Mon Apr 11 14:47:59 CEST 2011 +
+ Last modified: Wed Aug 3 15:33:17 CEST 2011 +
-TH
\ No newline at end of file -- cgit v1.2.3