Mercurial > hg > nginx-site
diff xml/en/docs/http/ngx_http_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 | 893cd7724c8c |
children | 45214e5316cd |
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_js_module.xml Fri Mar 12 18:09:09 2021 +0000 +++ b/xml/en/docs/http/ngx_http_js_module.xml Fri Mar 12 20:34:11 2021 +0000 @@ -9,7 +9,7 @@ <module name="Module ngx_http_js_module" link="/en/docs/http/ngx_http_js_module.html" lang="en" - rev="25"> + rev="26"> <section id="summary"> @@ -235,7 +235,7 @@ </example> Here, the module name <literal>http</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>http.foo</literal> is used to refer to it. </para>