aboutsummaryrefslogtreecommitdiff
path: root/files/ru/web/api/cleartimeout/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/ru/web/api/cleartimeout/index.html')
-rw-r--r--files/ru/web/api/cleartimeout/index.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/files/ru/web/api/cleartimeout/index.html b/files/ru/web/api/cleartimeout/index.html
index e19fc0fe1b..b7f57b0b6e 100644
--- a/files/ru/web/api/cleartimeout/index.html
+++ b/files/ru/web/api/cleartimeout/index.html
@@ -8,7 +8,7 @@ original_slug: Web/API/WindowOrWorkerGlobalScope/clearTimeout
<p><strong><code>clearTimeout()</code></strong> метод {{domxref("WindowOrWorkerGlobalScope")}} отменяет таймаут, ранее установленный вызовом {{domxref("WindowOrWorkerGlobalScope.setTimeout", "setTimeout()")}}.</p>
-<h2 id="Syntax" name="Syntax">Синтаксис</h2>
+<h2 id="Syntax">Синтаксис</h2>
<pre class="syntaxbox notranslate"><em>scope</em>.clearTimeout(<em>timeoutID</em>)
</pre>
@@ -23,7 +23,7 @@ original_slug: Web/API/WindowOrWorkerGlobalScope/clearTimeout
<p>It's worth noting that the pool of IDs used by {{domxref("WindowOrWorkerGlobalScope.setTimeout", "setTimeout()")}} and {{domxref("WindowOrWorkerGlobalScope.setInterval", "setInterval()")}} are shared, which means you can technically use <code>clearTimeout()</code> and {{domxref("WindowOrWorkerGlobalScope.clearInterval", "clearInterval()")}} interchangeably. However, for clarity, you should avoid doing so.</p>
-<h2 id="Example" name="Example">Пример использования:</h2>
+<h2 id="Example">Пример использования:</h2>
<p>Запустите приведённый ниже скрипт в контакте веб-страницы и кликните один раз. Вы увидите всплывающее сообщение через 1 секунду. Если вы щёлкните страницу несколько раз за одну секунду, предупреждение появится только один раз.</p>
@@ -50,11 +50,11 @@ original_slug: Web/API/WindowOrWorkerGlobalScope/clearTimeout
window.onclick = function() { alarm.setup(); };
</pre>
-<h2 id="Notes" name="Notes">Примечания</h2>
+<h2 id="Notes">Примечания</h2>
<p>Передача недействительного ID <code>clearTimeout()</code> ни к чему не приведёт. Исключение не создается.</p>
-<h2 id="Specification" name="Specification">Спецификация</h2>
+<h2 id="Specification">Спецификация</h2>
<table class="standard-table">
<thead>