Update of /cvsroot/plib/plib/doc/js
In directory usw-pr-cvs1:/tmp/cvs-serv18705/plib/doc/js
Modified Files:
index.html
Log Message:
Updated JS documentation to refer to libjs.a and jsInit().
Index: index.html
===================================================================
RCS file: /cvsroot/plib/plib/doc/js/index.html,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- index.html 17 Apr 2002 22:29:51 -0000 1.8
+++ index.html 1 Sep 2002 01:16:40 -0000 1.9
@@ -31,13 +31,18 @@
implementations will simply sit on top of an underlying
driver provided by the Operating System.
<p>
-Calling JS a 'library' is something of an exaggeration,
-since it is actually just a single header file with all
-the functionality 'inlined'.
+You should include the JS header file '/usr/include/plib/js.h'
+and link to the JS library '/usr/lib/libjs.a'.
<p>
-JS doesn't really do much for you - it's essentially
-just a wrapper to make the various underlying OS mechanisms
-look the same to application code.
+Before using any JS functions, you should initialise the
+library by calling:
+<pre>
+
+ jsInit () ;
+
+</pre>
+JS is essentially just a wrapper to make the various
+underlying OS mechanisms look the same to application code.
<pre>
class jsJoystick
|