[njs] Simplified condition in njs_function_alloc().

2019-05-04 Thread Valentin Bartenev
details: https://hg.nginx.org/njs/rev/551d173ab9ec branches: changeset: 943:551d173ab9ec user: Valentin Bartenev date: Sat May 04 05:52:15 2019 +0300 description: Simplified condition in njs_function_alloc(). There's no reason to check both flags when one depends on another. See jus

[njs] Style.

2019-05-04 Thread Valentin Bartenev
details: https://hg.nginx.org/njs/rev/b7cdfafdc20b branches: changeset: 944:b7cdfafdc20b user: Valentin Bartenev date: Sat May 04 16:59:24 2019 +0300 description: Style. diffstat: njs/njs_disassembler.c | 2 -- njs/njs_function.c | 1 - njs/njs_json.c | 8 +

[njs] Added the "name" property to the Function prototype object.

2019-05-04 Thread Valentin Bartenev
details: https://hg.nginx.org/njs/rev/0c42e997371c branches: changeset: 945:0c42e997371c user: Valentin Bartenev date: Sat May 04 17:12:35 2019 +0300 description: Added the "name" property to the Function prototype object. Its value according to the ES6+ specification must be the em