Mercurial > hg > nginx-site
diff 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 |
line wrap: on
line diff
--- a/xml/en/docs/stream/ngx_stream_js_module.xml +++ b/xml/en/docs/stream/ngx_stream_js_module.xml @@ -9,7 +9,7 @@ <module name="Module ngx_stream_js_module" link="/en/docs/stream/ngx_stream_js_module.html" lang="en" - rev="43"> + rev="44"> <section id="summary"> @@ -544,7 +544,7 @@ async function handler(s) { Preloads an <link doc="../njs/preload_objects.xml">immutable object</link> at configure time. -The <literal>name</literal> is used a name of the global variable +The <literal>name</literal> is used as a name of the global variable though which the object is available in njs code. If the <literal>name</literal> is not specified, the file name will be used instead.