From 44d1a5a9f71b03d9aceeccd760a63fcdc45f8bad Mon Sep 17 00:00:00 2001 From: hallgren Date: Wed, 12 Oct 2011 17:03:54 +0000 Subject: Improvements of "gf -server" mode and related setup "gf -server" mode now contains everything needed to run the minibar and the grammar editor (including example-based grammar writing). The Setup.hs script installs the required files where gf -server can find them. These files have been moved to a new directory: src/www. The separate server program pgf-http is now obsolete. --- src/runtime/javascript/minibar/minibar-api.html | 235 ------------------------ 1 file changed, 235 deletions(-) delete mode 100644 src/runtime/javascript/minibar/minibar-api.html (limited to 'src/runtime/javascript/minibar/minibar-api.html') diff --git a/src/runtime/javascript/minibar/minibar-api.html b/src/runtime/javascript/minibar/minibar-api.html deleted file mode 100644 index 2c5a8ecc0..000000000 --- a/src/runtime/javascript/minibar/minibar-api.html +++ /dev/null @@ -1,235 +0,0 @@ - - - -GF web services API examples - - - - - -

Minibar API

- -The Minibar web app consists of the following objects: - - - -They are described below. - -

The Minibar object

- -

-This object implements the complete Minibar web app. It is defined in -minibar.js. It also uses the Input -and Translations objects described below, and some auxiliary -functions defined in minibar_support.js -and support.js, so to use it in an -HTML file, you would normally include at least the following: - -

-<script type="text/JavaScript" src="minibar.js"></script>
-<script type="text/JavaScript" src="minibar_input.js"></script>
-<script type="text/JavaScript" src="minibar_translations.js"></script>
-<script type="text/JavaScript" src="minibar_support.js"></script>
-<script type="text/JavaScript" src="support.js"></script>
-
- -

-For an example, see minibar.html. - -

Constructor

- -var minibar=new Minibar(server,options,target) - - - -

Methods

-There are several internal methods, but since this is a self-contained -web app, there is usually no need to call any methods from outside. - -

The Input object

- -This object handles user input. Text can be entered by typing or by clicking -on the "refrigerator magnets". -

-It is defined in -minibar_input.js. -It also uses some auxiliary functions defined -in minibar_support.js -and support.js, so to use it in an -HTML file, you would normally include at least the following: - -

-<script type="text/JavaScript" src="minibar_input.js"></script>
-<script type="text/JavaScript" src="minibar_support.js"></script>
-<script type="text/JavaScript" src="support.js"></script>
-
- -

Constructor

- -var input=new Input(server,translations,options) - - - -

Properties and user interface

- -The input object created by the Input constructor -contains two field that the caller should add to the user interface: - - -

Methods

- - - -

The Translations object

- -This object display translations. It is defined in -minibar_translations.js. -It also uses some auxiliary functions defined -in minibar_support.js -and support.js, so to use it in an -HTML file, you would normally include at least the following: - -
-<script type="text/JavaScript" src="minibar_input.js"></script>
-<script type="text/JavaScript" src="minibar_support.js"></script>
-<script type="text/JavaScript" src="support.js"></script>
-
- -

Constructor

-var translations=new Translations(server,options) - - -

Properties and user interface

- - -The translations object created by the -Translations constructor contains two field that the caller -should add to the user interface: - - -

Methods

- - - -
-
- -HTML Last modified: Sun Aug 21 19:11:35 CEST 2011 - -
- -
-TH -
-- cgit v1.2.3