aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/learn/javascript/asynchronous
diff options
context:
space:
mode:
authorTanner Dolby <tannercdolby@gmail.com>2022-02-22 01:49:36 -0800
committerGitHub <noreply@github.com>2022-02-22 17:49:36 +0800
commit6e9fe98036090a37cc6247b873845505e5b512fb (patch)
tree5fc00117ddfd9f448eb9e8011b5bd7f6d8000e8d /files/zh-cn/learn/javascript/asynchronous
parent70c3e11f3335e7701325f125fd712c84d6c1f9bf (diff)
downloadtranslated-content-6e9fe98036090a37cc6247b873845505e5b512fb.tar.gz
translated-content-6e9fe98036090a37cc6247b873845505e5b512fb.tar.bz2
translated-content-6e9fe98036090a37cc6247b873845505e5b512fb.zip
Removes empty <div> or <p> elements from pages (#3093)
* Removes all empty paragraph elements * Removes all empty div elements * Preserve empty div in code snippet * Preserve empty elements inside code snippets * Remove fr files which were converted into markdown * Web/CSS/transform-function/scaleX()/index.html The file is already renamed to index.md。 * remove not needed file * Resolve remaining conflict Co-authored-by: julieng <julien.gattelier@gmail.com> Co-authored-by: Masahiro FUJIMOTO <mfujimot@gmail.com>
Diffstat (limited to 'files/zh-cn/learn/javascript/asynchronous')
-rw-r--r--files/zh-cn/learn/javascript/asynchronous/index.html4
-rw-r--r--files/zh-cn/learn/javascript/asynchronous/timeouts_and_intervals/index.html4
2 files changed, 4 insertions, 4 deletions
diff --git a/files/zh-cn/learn/javascript/asynchronous/index.html b/files/zh-cn/learn/javascript/asynchronous/index.html
index aa5c99dc8d..0378fb1e5e 100644
--- a/files/zh-cn/learn/javascript/asynchronous/index.html
+++ b/files/zh-cn/learn/javascript/asynchronous/index.html
@@ -16,11 +16,11 @@ tags:
translation_of: Learn/JavaScript/Asynchronous
original_slug: learn/JavaScript/异步
---
-<div></div>
+
<div>{{LearnSidebar}}</div>
-<div></div>
+
<p class="summary"><span class="seoSummary">在这个模块,我们将查看 {{Glossary("asynchronous")}} {{Glossary("JavaScript")}},异步为什么很重要,以及怎样使用异步来有效处理潜在的阻塞操作,比如从服务器上获取资源。</span></p>
diff --git a/files/zh-cn/learn/javascript/asynchronous/timeouts_and_intervals/index.html b/files/zh-cn/learn/javascript/asynchronous/timeouts_and_intervals/index.html
index 1f33b4efc2..0819a5aff0 100644
--- a/files/zh-cn/learn/javascript/asynchronous/timeouts_and_intervals/index.html
+++ b/files/zh-cn/learn/javascript/asynchronous/timeouts_and_intervals/index.html
@@ -6,11 +6,11 @@ original_slug: learn/JavaScript/异步/超时和间隔
---
<div>{{LearnSidebar}}</div>
-<div></div>
+
<div>{{PreviousMenuNext("Learn/JavaScript/Asynchronous/Introducing", "Learn/JavaScript/Asynchronous/Promises", "Learn/JavaScript/Asynchronous")}}</div>
-<div></div>
+
<p class="summary">在这里,我们将讨论传统的JavaScript方法,这些方法可以在一段时间或一段规则间隔(例如,每秒固定的次数)之后,以异步方式运行代码,并讨论它们的用处,以及它们的固有问题。</p>