aboutsummaryrefslogtreecommitdiff
path: root/files/ru/web/api/geolocation
diff options
context:
space:
mode:
Diffstat (limited to 'files/ru/web/api/geolocation')
-rw-r--r--files/ru/web/api/geolocation/getcurrentposition/index.html4
-rw-r--r--files/ru/web/api/geolocation/index.html2
2 files changed, 3 insertions, 3 deletions
diff --git a/files/ru/web/api/geolocation/getcurrentposition/index.html b/files/ru/web/api/geolocation/getcurrentposition/index.html
index 6fc61cf3a7..bc53dade5b 100644
--- a/files/ru/web/api/geolocation/getcurrentposition/index.html
+++ b/files/ru/web/api/geolocation/getcurrentposition/index.html
@@ -13,9 +13,9 @@ translation_of: Web/API/Geolocation/getCurrentPosition
<dl>
<dt><code><var>success</var></code></dt>
- <dd>Функция обратного вызова, которая принимает объект {{domxref("Position")}} в качестве единственного входного параметра.</dd>
+ <dd>Колбэк-функция, которая принимает объект {{domxref("Position")}} в качестве единственного входного параметра.</dd>
<dt><code><var>error</var></code> {{optional_inline}}</dt>
- <dd>Необязательная функция обратного вызова, принимающая объект {{domxref("PositionError")}} как единственный входной параметр.</dd>
+ <dd>Необязательная колбэк-функция, принимающая объект {{domxref("PositionError")}} как единственный входной параметр.</dd>
<dt><code><var>options</var></code> {{optional_inline}}</dt>
<dd>Необязательный объект {{domxref("PositionOptions")}}.<br>
Включает в себя
diff --git a/files/ru/web/api/geolocation/index.html b/files/ru/web/api/geolocation/index.html
index 1e532a6bfe..17f5d493ff 100644
--- a/files/ru/web/api/geolocation/index.html
+++ b/files/ru/web/api/geolocation/index.html
@@ -32,7 +32,7 @@ translation_of: Web/API/Geolocation
<dt>{{domxref("Geolocation.getCurrentPosition()")}} {{securecontext_inline}}</dt>
<dd>Определяет местоположение устройства и возвращает объект {{domxref("Position")}} с данными.</dd>
<dt>{{domxref("Geolocation.watchPosition()")}} {{securecontext_inline}}</dt>
- <dd>Возвращает <code>long</code> значение, предоставляет вновь созданную callback-функцию, вызываемую при изменении местоположения устройства.</dd>
+ <dd>Возвращает <code>long</code> значение, предоставляет вновь созданную колбэк-функцию, вызываемую при изменении местоположения устройства.</dd>
<dt>{{domxref("Geolocation.clearWatch()")}} {{securecontext_inline}}</dt>
<dd>Удаляет обработчик, созданный с помощью <code>watchPosition()</code>.</dd>
</dl>