Mercurial > hg > nginx-site
diff xml/en/docs/njs/index.xml @ 2270:cd9934924920
Moved summary to top of njs index page.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Mon, 29 Oct 2018 21:45:06 +0300 |
parents | 1bec6f727a84 |
children | dce69c8e4c7d |
line wrap: on
line diff
--- a/xml/en/docs/njs/index.xml Mon Oct 29 21:43:29 2018 +0300 +++ b/xml/en/docs/njs/index.xml Mon Oct 29 21:45:06 2018 +0300 @@ -9,9 +9,25 @@ <article name="njs scripting language" link="/en/docs/njs/index.html" lang="en" - rev="27" + rev="28" toc="no"> +<section id="summary"> + +<para> +njs is a subset of the JavaScript language that allows +extending nginx functionality. +njs is created in compliance with +<link url="http://www.ecma-international.org/ecma-262/5.1/">ECMAScript 5.1</link> +(strict mode) with some +<link url="http://www.ecma-international.org/ecma-262/6.0/">ECMAScript 6</link> +and later extensions. +The compliance is still <link doc="compatibility.xml">evolving</link>. +</para> + +</section> + + <section id="links"> <para> @@ -63,22 +79,6 @@ </section> -<section id="summary"> - -<para> -njs is a subset of the JavaScript language that allows -extending nginx functionality. -njs is created in compliance with -<link url="http://www.ecma-international.org/ecma-262/5.1/">ECMAScript 5.1</link> -(strict mode) with some -<link url="http://www.ecma-international.org/ecma-262/6.0/">ECMAScript 6</link> -and later extensions. -The compliance is still <link doc="compatibility.xml">evolving</link>. -</para> - -</section> - - <section id="usecases" name="Use cases"> <para>