Mercurial > hg > nginx-site
comparison xml/en/docs/stream/ngx_stream_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 | c0a4a4a55e45 |
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_stream_js_module" | 9 <module name="Module ngx_stream_js_module" |
10 link="/en/docs/stream/ngx_stream_js_module.html" | 10 link="/en/docs/stream/ngx_stream_js_module.html" |
11 lang="en" | 11 lang="en" |
12 rev="43"> | 12 rev="44"> |
13 | 13 |
14 <section id="summary"> | 14 <section id="summary"> |
15 | 15 |
16 <para> | 16 <para> |
17 The <literal>ngx_stream_js_module</literal> module is used to implement | 17 The <literal>ngx_stream_js_module</literal> module is used to implement |
542 | 542 |
543 <para> | 543 <para> |
544 Preloads an | 544 Preloads an |
545 <link doc="../njs/preload_objects.xml">immutable object</link> | 545 <link doc="../njs/preload_objects.xml">immutable object</link> |
546 at configure time. | 546 at configure time. |
547 The <literal>name</literal> is used a name of the global variable | 547 The <literal>name</literal> is used as a name of the global variable |
548 though which the object is available in njs code. | 548 though which the object is available in njs code. |
549 If the <literal>name</literal> is not specified, | 549 If the <literal>name</literal> is not specified, |
550 the file name will be used instead. | 550 the file name will be used instead. |
551 <example> | 551 <example> |
552 js_preload_object map.json; | 552 js_preload_object map.json; |