Mercurial > hg > nginx-site
diff xml/en/docs/stream/ngx_stream_js_module.xml @ 2680:8751cab1d562
Corrected example description in js_import.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Fri, 12 Mar 2021 20:34:11 +0000 |
parents | 7517de030c0a |
children | 45214e5316cd |
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="23"> + rev="24"> <section id="summary"> @@ -178,7 +178,7 @@ js_import stream.js; </example> Here, the module name <literal>stream</literal> is used as a namespace while accessing exports. -If the imported module contains <literal>foo()</literal>, +If the imported module exports <literal>foo()</literal>, <literal>stream.foo</literal> is used to refer to it. </para>