comparison xml/en/docs/njs/index.xml @ 2257:8cef5ef98336

Changed quotes to ASCII in NJS example.
author Nick Shadrin <nick@nginx.com>
date Wed, 17 Oct 2018 15:42:16 -0700
parents 32ba43abf9cd
children 1bec6f727a84
comparison
equal deleted inserted replaced
2256:b2a3857abaf6 2257:8cef5ef98336
7 <!DOCTYPE article SYSTEM "../../../../dtd/article.dtd"> 7 <!DOCTYPE article SYSTEM "../../../../dtd/article.dtd">
8 8
9 <article name="njs scripting language" 9 <article name="njs scripting language"
10 link="/en/docs/njs/index.html" 10 link="/en/docs/njs/index.html"
11 lang="en" 11 lang="en"
12 rev="25" 12 rev="26"
13 toc="no"> 13 toc="no">
14 14
15 <section id="links"> 15 <section id="links">
16 16
17 <para> 17 <para>
123 create an njs script file, for example, <path>hello_world.js</path>. 123 create an njs script file, for example, <path>hello_world.js</path>.
124 See <link doc="reference.xml">Reference</link> 124 See <link doc="reference.xml">Reference</link>
125 for the list of njs properties and methods. 125 for the list of njs properties and methods.
126 <example> 126 <example>
127 function hello(r) { 127 function hello(r) {
128 r.return(200, “Hello world!”); 128 r.return(200, "Hello world!");
129 } 129 }
130 </example> 130 </example>
131 </para> 131 </para>
132 </listitem> 132 </listitem>
133 133