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 | a2960295605a27e084541fc2f93068dd3cad15ba (patch) | |
tree | be397698351c1343ce51d0ad554d0570a80be174 | |
parent | c4576ded828eb9a5ef5f032c8f9409a7116f80a1 (diff) | |
download | translated-content-a2960295605a27e084541fc2f93068dd3cad15ba.tar.gz translated-content-a2960295605a27e084541fc2f93068dd3cad15ba.tar.bz2 translated-content-a2960295605a27e084541fc2f93068dd3cad15ba.zip |
remove hidden class for zh-TW
8 files changed, 3 insertions, 21 deletions
diff --git a/files/zh-tw/web/javascript/reference/global_objects/array/flat/index.html b/files/zh-tw/web/javascript/reference/global_objects/array/flat/index.html index 8a6a4b2549..e6a5002930 100644 --- a/files/zh-tw/web/javascript/reference/global_objects/array/flat/index.html +++ b/files/zh-tw/web/javascript/reference/global_objects/array/flat/index.html @@ -12,7 +12,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Array/flat <p><code><strong>flat()</strong></code> 函數以遞迴方式將特定深度的子陣列重新串接成為一新的陣列</p> -<p class="hidden">\{{EmbedInteractiveExample("pages/js/array-flatten.html")}}</p> +<p >\{{EmbedInteractiveExample("pages/js/array-flatten.html")}}</p> diff --git a/files/zh-tw/web/javascript/reference/global_objects/array/slice/index.html b/files/zh-tw/web/javascript/reference/global_objects/array/slice/index.html index 7079acee9d..4512eecf4e 100644 --- a/files/zh-tw/web/javascript/reference/global_objects/array/slice/index.html +++ b/files/zh-tw/web/javascript/reference/global_objects/array/slice/index.html @@ -15,8 +15,6 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Array/slice <div>{{EmbedInteractiveExample("pages/js/array-slice.html")}}</div> -<p class="hidden">The source for this interactive demo is stored in a GitHub repository. If you'd like to contribute to the interactive demo project, please clone <a href="https://github.com/mdn/interactive-examples">https://github.com/mdn/interactive-examples</a> and send us a pull request.</p> - <h2 id="語法">語法</h2> <pre class="syntaxbox"><var>arr</var>.slice(<em>[</em><var>begin[</var>, <var>end]]</var>) diff --git a/files/zh-tw/web/javascript/reference/global_objects/date/getday/index.html b/files/zh-tw/web/javascript/reference/global_objects/date/getday/index.html index 18d250f6fd..dd5ebc36d4 100644 --- a/files/zh-tw/web/javascript/reference/global_objects/date/getday/index.html +++ b/files/zh-tw/web/javascript/reference/global_objects/date/getday/index.html @@ -9,8 +9,6 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Date/getDay <div>{{EmbedInteractiveExample("pages/js/date-getday.html", "shorter")}}</div> -<div class="hidden">The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone <a href="https://github.com/mdn/interactive-examples">https://github.com/mdn/interactive-examples</a> and send us a pull request.</div> - <h2 id="語法">語法</h2> <pre class="syntaxbox"><code><var>dateObj</var>.getDay()</code></pre> diff --git a/files/zh-tw/web/javascript/reference/global_objects/promise/finally/index.html b/files/zh-tw/web/javascript/reference/global_objects/promise/finally/index.html index 77adc0c6fa..d1d76d3d80 100644 --- a/files/zh-tw/web/javascript/reference/global_objects/promise/finally/index.html +++ b/files/zh-tw/web/javascript/reference/global_objects/promise/finally/index.html @@ -66,10 +66,6 @@ fetch(myRequest).then(function(response) { </pre> -<div class="hidden"> -<p>Please do not add polyfills on MDN pages. For more details, refer to: <a href="https://discourse.mozilla.org/t/mdn-rfc-001-mdn-wiki-pages-shouldnt-be-a-distributor-of-polyfills/24500">https://discourse.mozilla.org/t/mdn-rfc-001-mdn-wiki-pages-shouldnt-be-a-distributor-of-polyfills/24500</a></p> -</div> - <h2 id="Specifications">Specifications</h2> <table class="standard-table"> diff --git a/files/zh-tw/web/javascript/reference/global_objects/promise/index.html b/files/zh-tw/web/javascript/reference/global_objects/promise/index.html index 60930d642f..c14a429795 100644 --- a/files/zh-tw/web/javascript/reference/global_objects/promise/index.html +++ b/files/zh-tw/web/javascript/reference/global_objects/promise/index.html @@ -13,10 +13,6 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Promise <div>{{EmbedInteractiveExample("pages/js/promise-constructor.html")}}</div> - - -<p class="hidden">The source for this interactive demo is stored in a GitHub repository. If you'd like to contribute to the interactive demo project, please clone <a href="https://github.com/mdn/interactive-examples">https://github.com/mdn/interactive-examples</a> and send us a pull request.</p> - <h2 id="語法">語法</h2> <pre class="brush: js">new Promise( /* executor */ function(resolve, reject) { ... } );</pre> @@ -139,7 +135,7 @@ myFirstPromise.then((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> @@ -193,7 +189,7 @@ function testPromise() { <p><sub>*譯註:resolver function 即 executor function。</sub></p> -<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 { diff --git a/files/zh-tw/web/javascript/reference/operators/conditional_operator/index.html b/files/zh-tw/web/javascript/reference/operators/conditional_operator/index.html index cd7f851374..d599340957 100644 --- a/files/zh-tw/web/javascript/reference/operators/conditional_operator/index.html +++ b/files/zh-tw/web/javascript/reference/operators/conditional_operator/index.html @@ -9,8 +9,6 @@ translation_of: Web/JavaScript/Reference/Operators/Conditional_Operator <div>{{EmbedInteractiveExample("pages/js/expressions-conditionaloperators.html")}}</div> -<div class="hidden">The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone <a href="https://github.com/mdn/interactive-examples">https://github.com/mdn/interactive-examples</a> and send us a pull request.</div> - <h2 id="語法">語法</h2> <pre class="syntaxbox"><var>condition</var> ? <var>exprIfTrue</var> : <var>exprIfFalse</var></pre> diff --git a/files/zh-tw/web/javascript/reference/operators/spread_syntax/index.html b/files/zh-tw/web/javascript/reference/operators/spread_syntax/index.html index 42793870c0..6b69748661 100644 --- a/files/zh-tw/web/javascript/reference/operators/spread_syntax/index.html +++ b/files/zh-tw/web/javascript/reference/operators/spread_syntax/index.html @@ -9,8 +9,6 @@ translation_of: Web/JavaScript/Reference/Operators/Spread_syntax <div>{{EmbedInteractiveExample("pages/js/expressions-spreadsyntax.html")}}</div> -<div class="hidden">The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone <a href="https://github.com/mdn/interactive-examples">https://github.com/mdn/interactive-examples</a> and send us a pull request.</div> - <h2 id="語法">語法</h2> <p>用在呼叫函式時:</p> diff --git a/files/zh-tw/web/javascript/reference/statements/if...else/index.html b/files/zh-tw/web/javascript/reference/statements/if...else/index.html index 9224af1894..8fea9e55f6 100644 --- a/files/zh-tw/web/javascript/reference/statements/if...else/index.html +++ b/files/zh-tw/web/javascript/reference/statements/if...else/index.html @@ -9,8 +9,6 @@ translation_of: Web/JavaScript/Reference/Statements/if...else <div>{{EmbedInteractiveExample("pages/js/statement-ifelse.html")}}</div> -<p class="hidden">這個互動式的源碼被放在 GitHub 的 Repository 裡,如果您想對此互動式範例專案提出貢獻的話,請 clone https://github.com/mdn/interactive-examples 並送出 pull request。</p> - <h2 id="語法">語法</h2> <pre class="syntaxbox">if (<em>條件式</em>) |