Mercurial > hg > nginx-site
comparison xml/en/docs/njs/reference.xml @ 2687:7ff9d8bda757
Revised TOC in njs Reference.
Capitalization rules for njs Reference TOC:
- names of classes are capitalized
- names of global objects are not capitalized
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Fri, 19 Mar 2021 18:24:34 +0000 |
parents | 5282d6d3d849 |
children | dd2bbd104146 |
comparison
equal
deleted
inserted
replaced
2686:45214e5316cd | 2687:7ff9d8bda757 |
---|---|
7 <!DOCTYPE article SYSTEM "../../../../dtd/article.dtd"> | 7 <!DOCTYPE article SYSTEM "../../../../dtd/article.dtd"> |
8 | 8 |
9 <article name="Reference" | 9 <article name="Reference" |
10 link="/en/docs/njs/reference.html" | 10 link="/en/docs/njs/reference.html" |
11 lang="en" | 11 lang="en" |
12 rev="69"> | 12 rev="70"> |
13 | 13 |
14 <section id="summary"> | 14 <section id="summary"> |
15 | 15 |
16 <para> | 16 <para> |
17 <link doc="index.xml">njs</link> provides objects, methods and properties | 17 <link doc="index.xml">njs</link> provides objects, methods and properties |
862 </section> | 862 </section> |
863 | 863 |
864 </section> | 864 </section> |
865 | 865 |
866 | 866 |
867 <section id="core" name="Core"> | 867 <section id="builtin_objects" name="built-in objects"> |
868 | |
869 | |
870 <section id="core_global" name="Global"> | |
871 | 868 |
872 | 869 |
873 <section id="njs" name="njs"> | 870 <section id="njs" name="njs"> |
874 | 871 |
875 <para> | 872 <para> |
913 </para> | 910 </para> |
914 | 911 |
915 </section> | 912 </section> |
916 | 913 |
917 | 914 |
918 <section id="process" name="Process"> | 915 <section id="process" name="process"> |
919 | 916 |
920 <para> | 917 <para> |
921 The <literal>process</literal> object is a global object | 918 The <literal>process</literal> object is a global object |
922 that provides information about the current process | 919 that provides information about the current process |
923 (<link doc="changes.xml" id="njs0.3.3">0.3.3</link>). | 920 (<link doc="changes.xml" id="njs0.3.3">0.3.3</link>). |
953 Returns the PID of the current parent process. | 950 Returns the PID of the current parent process. |
954 </tag-desc> | 951 </tag-desc> |
955 | 952 |
956 </list> | 953 </list> |
957 </para> | 954 </para> |
958 | |
959 </section> | |
960 | 955 |
961 </section> | 956 </section> |
962 | 957 |
963 | 958 |
964 <section id="string" name="String"> | 959 <section id="string" name="String"> |
1074 </list> | 1069 </list> |
1075 </para> | 1070 </para> |
1076 | 1071 |
1077 </section> | 1072 </section> |
1078 | 1073 |
1074 </section> | |
1075 | |
1076 | |
1077 <section id="webapi" name="web API"> | |
1078 | |
1079 | 1079 |
1080 <section id="textdecoder" name="Text Decoder"> | 1080 <section id="textdecoder" name="Text Decoder"> |
1081 | 1081 |
1082 <para> | 1082 <para> |
1083 The <literal>TextDecoder</literal> | 1083 The <literal>TextDecoder</literal> |
1218 </list> | 1218 </list> |
1219 </para> | 1219 </para> |
1220 | 1220 |
1221 </section> | 1221 </section> |
1222 | 1222 |
1223 | 1223 </section> |
1224 <section id="njs_api_timers" name="Timers"> | 1224 |
1225 | |
1226 <section id="njs_api_timers" name="timers"> | |
1225 | 1227 |
1226 <para> | 1228 <para> |
1227 <list type="tag"> | 1229 <list type="tag"> |
1228 | 1230 |
1229 <tag-name id="cleartimeout"><literal>clearTimeout(<value>timeout</value>)</literal></tag-name> | 1231 <tag-name id="cleartimeout"><literal>clearTimeout(<value>timeout</value>)</literal></tag-name> |
1259 </list> | 1261 </list> |
1260 </para> | 1262 </para> |
1261 | 1263 |
1262 </section> | 1264 </section> |
1263 | 1265 |
1264 </section> | 1266 |
1265 | 1267 <section id="builtin_modules" name="built-in modules"> |
1266 | |
1267 <section id="built-in" name="Built-in Modules"> | |
1268 | 1268 |
1269 | 1269 |
1270 <section id="buffer" name="Buffer"> | 1270 <section id="buffer" name="Buffer"> |
1271 | 1271 |
1272 <para> | 1272 <para> |