Mercurial > hg > nginx-site
comparison xml/en/docs/http/ngx_http_js_module.xml @ 3039:e6b785b7e308
Minor fixes in njs documentation.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Tue, 06 Feb 2024 08:52:52 +0000 |
parents | 58f0d9d7fe1d |
children |
comparison
equal
deleted
inserted
replaced
3038:f0c2c0458f2b | 3039:e6b785b7e308 |
---|---|
7 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> | 7 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> |
8 | 8 |
9 <module name="Module ngx_http_js_module" | 9 <module name="Module ngx_http_js_module" |
10 link="/en/docs/http/ngx_http_js_module.html" | 10 link="/en/docs/http/ngx_http_js_module.html" |
11 lang="en" | 11 lang="en" |
12 rev="45"> | 12 rev="46"> |
13 | 13 |
14 <section id="summary"> | 14 <section id="summary"> |
15 | 15 |
16 <para> | 16 <para> |
17 The <literal>ngx_http_js_module</literal> module is used to implement | 17 The <literal>ngx_http_js_module</literal> module is used to implement |
624 | 624 |
625 <para> | 625 <para> |
626 Preloads an | 626 Preloads an |
627 <link doc="../njs/preload_objects.xml">immutable object</link> | 627 <link doc="../njs/preload_objects.xml">immutable object</link> |
628 at configure time. | 628 at configure time. |
629 The <literal>name</literal> is used a name of the global variable | 629 The <literal>name</literal> is used as a name of the global variable |
630 though which the object is available in njs code. | 630 though which the object is available in njs code. |
631 If the <literal>name</literal> is not specified, | 631 If the <literal>name</literal> is not specified, |
632 the file name will be used instead. | 632 the file name will be used instead. |
633 <example> | 633 <example> |
634 js_preload_object map.json; | 634 js_preload_object map.json; |