Changeset 2497:805c4b84cc61 in nginx_org


Ignore:
Timestamp:
02/03/20 18:42:07 (2 weeks ago)
Author:
Yaroslav Zhuravlev <yar@…>
Branch:
default
Phase:
public
Message:

Added missing feature and links to njs-0.3.8 Changes.

Location:
xml/en/docs/njs
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • xml/en/docs/njs/changes.xml

    r2482 r2497  
    1010        link="/en/docs/njs/changes.html"
    1111        lang="en"
    12         rev="26"
     12        rev="27"
    1313        toc="no">
    1414
     
    2727<para>
    2828Feature:
    29 added <literal>Promise</literal> support
    30 for <literal>r.subrequest()</literal>.
     29added <literal>Promise</literal> support for
     30<link doc="reference.xml" id="subrequest"><literal>r.subrequest()</literal></link>.
    3131If a callback is not provided,
    32 <literal>r.subrequest()</literal> returns an ordinary
     32<link doc="reference.xml" id="subrequest"><literal>r.subrequest()</literal></link>
     33returns an ordinary
    3334<literal>Promise</literal> object
    3435that resolves to a subrequest response object.
     
    3940<para>
    4041Change:
    41 <literal>r.parent</literal> property handler now returns
     42<link doc="reference.xml" id="r_parent"><literal>r.parent()</literal></link>
     43property handler now returns
    4244<literal>undefined</literal>
    4345instead of throwing an exception if a parent object is not available.
     
    9092<para>
    9193Feature:
    92 added externals support for <literal>JSON.stringify()</literal>.
     94added externals support for
     95<link doc="reference.xml" id="core_json_stringify"><literal>JSON.stringify()</literal></link>.
    9396</para>
    9497</listitem>
     
    107110added <literal>Object.setPrototypeOf()</literal>.
    108111Thanks to Artem S. Povalyukhin.
     112</para>
     113</listitem>
     114
     115<listitem>
     116<para>
     117Feature:
     118introduced nullish coalescing operator.
    109119</para>
    110120</listitem>
     
    132142Bugfix:
    133143fixed
    134 <literal>JSON.stringify()</literal>
     144<link doc="reference.xml" id="core_json_stringify"><literal>JSON.stringify()</literal></link>
    135145with unprintable values and replacer function.
    136146</para>
  • xml/en/docs/njs/reference.xml

    r2496 r2497  
    1010        link="/en/docs/njs/reference.html"
    1111        lang="en"
    12         rev="34">
     12        rev="35">
    1313
    1414<section id="summary">
     
    105105</tag-desc>
    106106
    107 <tag-name><literal>r.parent</literal></tag-name>
     107<tag-name id="r_parent"><literal>r.parent</literal></tag-name>
    108108<tag-desc>
    109109references the parent request object
Note: See TracChangeset for help on using the changeset viewer.