# HG changeset patch # User Yaroslav Zhuravlev # Date 1692184342 -3600 # Node ID 98bd95a5ac7010fa023f5190a868ffd1f431d437 # Parent 89ab7fc9fea5b7b5c66d3bfbff9bcc710f18816b Added link to Preload Objects from js_preload_object. diff --git a/xml/en/docs/http/ngx_http_js_module.xml b/xml/en/docs/http/ngx_http_js_module.xml --- a/xml/en/docs/http/ngx_http_js_module.xml +++ b/xml/en/docs/http/ngx_http_js_module.xml @@ -9,7 +9,7 @@ + rev="39">
@@ -549,7 +549,9 @@ since 0.7.8 -Preloads an immutable object at configure time. +Preloads an +immutable object +at configure time. The name is used a name of the global variable though which the object is available in njs code. If the name is not specified, diff --git a/xml/en/docs/stream/ngx_stream_js_module.xml b/xml/en/docs/stream/ngx_stream_js_module.xml --- a/xml/en/docs/stream/ngx_stream_js_module.xml +++ b/xml/en/docs/stream/ngx_stream_js_module.xml @@ -9,7 +9,7 @@ + rev="37">
@@ -467,7 +467,9 @@ since 0.7.8 -Preloads an immutable object at configure time. +Preloads an +immutable object +at configure time. The name is used a name of the global variable though which the object is available in njs code. If the name is not specified, diff --git a/xml/ru/docs/http/ngx_http_js_module.xml b/xml/ru/docs/http/ngx_http_js_module.xml --- a/xml/ru/docs/http/ngx_http_js_module.xml +++ b/xml/ru/docs/http/ngx_http_js_module.xml @@ -9,7 +9,7 @@ + rev="39">
@@ -550,7 +550,9 @@ function version(r) { 0.7.8 -Предварительно загружает неизменяемый объект во время конфигурации. +Предварительно загружает +неизменяемый объект +во время конфигурации. Имя используется в качестве имени глобальной переменной, через которую объект доступен в коде njs. Если имя не указано, diff --git a/xml/ru/docs/stream/ngx_stream_js_module.xml b/xml/ru/docs/stream/ngx_stream_js_module.xml --- a/xml/ru/docs/stream/ngx_stream_js_module.xml +++ b/xml/ru/docs/stream/ngx_stream_js_module.xml @@ -9,7 +9,7 @@ + rev="37">
@@ -446,7 +446,9 @@ function address(s) { 0.7.8 -Предварительно загружает неизменяемый объект во время конфигурации. +Предварительно загружает +неизменяемый объект +во время конфигурации. Имя используется в качестве имени глобальной переменной, через которую объект доступен в коде njs. Если имя не указано,