Pārlūkot izejas kodu

app_jsdt: documented app_jsdt.api_list rpc command

Daniel-Constantin Mierla 8 gadi atpakaļ
vecāks
revīzija
04cc991ffe
1 mainītis faili ar 24 papildinājumiem un 4 dzēšanām
  1. 24 4
      src/modules/app_jsdt/doc/app_jsdt_admin.xml

+ 24 - 4
src/modules/app_jsdt/doc/app_jsdt_admin.xml

@@ -201,14 +201,14 @@ if(!jsdt_runstring('KSR.dbg("Hello World from $fU\n")'))
 
 
     <section>
     <section>
         <title>RPC Commands</title>
         <title>RPC Commands</title>
-        <section id="app_jsrt.r.reload">
+        <section id="app_jsdt.r.reload">
             <title>
             <title>
-            <function moreinfo="none">app_jsrt.reload</function>
+            <function moreinfo="none">app_jsdt.reload</function>
             </title>
             </title>
             <para>
             <para>
             Marks the need to reload the js script.
             Marks the need to reload the js script.
             The actual reload is done by every working process when the next
             The actual reload is done by every working process when the next
-            call to jsrt_run() function or KEMI config is executed.
+            call to jsdt_run() function or KEMI config is executed.
             </para>
             </para>
             <para>
             <para>
             Name: <emphasis>app_jsdt.reload</emphasis>
             Name: <emphasis>app_jsdt.reload</emphasis>
@@ -219,7 +219,27 @@ if(!jsdt_runstring('KSR.dbg("Hello World from $fU\n")'))
             </para>
             </para>
             <programlisting  format="linespecific">
             <programlisting  format="linespecific">
 ...
 ...
-&kamcmd; app_jsrt.reload
+&kamcmd; app_jsdt.reload
+...
+            </programlisting>
+        </section>
+       <section id="app_jsdt.r.api_list">
+            <title>
+            <function moreinfo="none">app_jsdt.api_list</function>
+            </title>
+            <para>
+			List the functions available via Kemi framework.
+            </para>
+            <para>
+            Name: <emphasis>app_jsdt.api_list</emphasis>
+            </para>
+            <para>Parameters: <emphasis>none</emphasis></para>
+            <para>
+            Example:
+            </para>
+            <programlisting  format="linespecific">
+...
+&kamcmd; app_jsdt.api_list
 ...
 ...
             </programlisting>
             </programlisting>
         </section>
         </section>