diff options
author | t7yang <t7yang@gmail.com> | 2022-01-10 08:38:06 +0800 |
---|---|---|
committer | Irvin <irvinfly@gmail.com> | 2022-02-16 02:35:54 +0800 |
commit | ea514a38735125a2b5468300311ea8b2389c8863 (patch) | |
tree | 1afc6c2ff3ee3bc5efdfbba3841e2ef24f0c9485 /files/zh-cn/web/javascript/reference/global_objects/promise/index.html | |
parent | a2960295605a27e084541fc2f93068dd3cad15ba (diff) | |
download | translated-content-ea514a38735125a2b5468300311ea8b2389c8863.tar.gz translated-content-ea514a38735125a2b5468300311ea8b2389c8863.tar.bz2 translated-content-ea514a38735125a2b5468300311ea8b2389c8863.zip |
remove hidden class for zh-CN
Diffstat (limited to 'files/zh-cn/web/javascript/reference/global_objects/promise/index.html')
-rw-r--r-- | files/zh-cn/web/javascript/reference/global_objects/promise/index.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/files/zh-cn/web/javascript/reference/global_objects/promise/index.html b/files/zh-cn/web/javascript/reference/global_objects/promise/index.html index 418851f99a..5a5fd2d613 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/promise/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/promise/index.html @@ -196,7 +196,7 @@ myFirstPromise.then(function(successMessage){ <h3 id="高级示例">高级示例</h3> -<pre class="brush: html hidden"><button id="btn">Make a promise!</button> +<pre class="brush: html"><button id="btn">Make a promise!</button> <div id="log"></div> </pre> @@ -247,7 +247,7 @@ function testPromise() { ') Promise made (<small>同步代码结束</small>)<br/>'); }</pre> -<pre class="brush:js hidden">if ("Promise" in window) { +<pre class="brush:js">if ("Promise" in window) { let btn = document.getElementById("btn"); btn.addEventListener("click",testPromise); } else { |