From 6e9fe98036090a37cc6247b873845505e5b512fb Mon Sep 17 00:00:00 2001 From: Tanner Dolby Date: Tue, 22 Feb 2022 01:49:36 -0800 Subject: Removes empty
or

elements from pages (#3093) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 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 Co-authored-by: Masahiro FUJIMOTO --- .../test_your_skills_colon__multimedia_and_embedding/index.html | 2 +- files/zh-tw/web/api/document/index.html | 2 +- files/zh-tw/web/javascript/reference/classes/static/index.html | 2 +- files/zh-tw/web/javascript/reference/global_objects/regexp/index.html | 2 +- .../web/javascript/reference/operators/optional_chaining/index.html | 4 ++-- files/zh-tw/web/javascript/reference/statements/switch/index.html | 2 +- .../mixed_content/how_to_fix_website_with_mixed_content/index.html | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) (limited to 'files/zh-tw') diff --git a/files/zh-tw/learn/html/multimedia_and_embedding/video_and_audio_content/test_your_skills_colon__multimedia_and_embedding/index.html b/files/zh-tw/learn/html/multimedia_and_embedding/video_and_audio_content/test_your_skills_colon__multimedia_and_embedding/index.html index 951de62ef5..6bb05fb46e 100644 --- a/files/zh-tw/learn/html/multimedia_and_embedding/video_and_audio_content/test_your_skills_colon__multimedia_and_embedding/index.html +++ b/files/zh-tw/learn/html/multimedia_and_embedding/video_and_audio_content/test_your_skills_colon__multimedia_and_embedding/index.html @@ -16,7 +16,7 @@ translation_of: >-

這項技能測試的目的是評估您是否了解我們的視訊和音訊內容以及從物件到iframe的其他嵌入技術文章。
-
+

Note: 您可以在下面的交互式編輯器中嘗試解決方案,但是下載代碼並使用在線工具如 CodePen, jsFiddle, or Glitch 去完成測試。
diff --git a/files/zh-tw/web/api/document/index.html b/files/zh-tw/web/api/document/index.html index 6d5476604c..3389d2e0cd 100644 --- a/files/zh-tw/web/api/document/index.html +++ b/files/zh-tw/web/api/document/index.html @@ -13,7 +13,7 @@ translation_of: Web/API/Document ---

{{APIRef}}
-
+

Document 介面代表所有在瀏覽器中載入的網頁,也是作為網頁內容 DOM 樹(包含如 {{HTMLElement("body")}}、{{HTMLElement("table")}} 與其它的{{domxref("Element", "元素")}})的進入點。Document 提供了網頁文件所需的通用函式,例如取得頁面 URL 或是建立網頁文件中新的元素節點等。

diff --git a/files/zh-tw/web/javascript/reference/classes/static/index.html b/files/zh-tw/web/javascript/reference/classes/static/index.html index de1ab29004..0e3eee7293 100644 --- a/files/zh-tw/web/javascript/reference/classes/static/index.html +++ b/files/zh-tw/web/javascript/reference/classes/static/index.html @@ -7,7 +7,7 @@ translation_of: Web/JavaScript/Reference/Classes/static
使用關鍵字 static 來定義一個靜態的方法(method)給類別(class),靜態方法在由類別所建立的物件實體(instance)上不能被呼叫,取而代之的是,靜態方法只能由類別本身呼叫。他們通常作為工具函式(utility functions)使用。像是建立物件或複製物件的函式。
-
+

語法

diff --git a/files/zh-tw/web/javascript/reference/global_objects/regexp/index.html b/files/zh-tw/web/javascript/reference/global_objects/regexp/index.html index 7bf77316e2..987e5fd95b 100644 --- a/files/zh-tw/web/javascript/reference/global_objects/regexp/index.html +++ b/files/zh-tw/web/javascript/reference/global_objects/regexp/index.html @@ -5,7 +5,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/RegExp ---
{{JSRef}}
-
+

RegExp 物件被用來比對符合自訂規則的文字。

diff --git a/files/zh-tw/web/javascript/reference/operators/optional_chaining/index.html b/files/zh-tw/web/javascript/reference/operators/optional_chaining/index.html index 7326405696..c9326cffd8 100644 --- a/files/zh-tw/web/javascript/reference/operators/optional_chaining/index.html +++ b/files/zh-tw/web/javascript/reference/operators/optional_chaining/index.html @@ -11,7 +11,7 @@ translation_of: Web/JavaScript/Reference/Operators/Optional_chaining ---
{{JSSidebar("Operators")}}
-
+

可選串連運算子 ?. 允許進行深層次的物件值存取,而無需透過明確的物件值串連驗證。?. 運算子的操作與 . 屬性存取運算子相似,後者會在參照到 nullish ({{JSxRef("null")}} or {{JSxRef("undefined")}}) 的值時出現錯誤,而前者可選串連則回傳 undefined 。 當需要存取一個函數,而這函數並不存在時,則會回傳 undefined

@@ -19,7 +19,7 @@ translation_of: Web/JavaScript/Reference/Operators/Optional_chaining
{{EmbedInteractiveExample("pages/js/expressions-optionalchainingoperator.html", "taller")}}
-
+ diff --git a/files/zh-tw/web/javascript/reference/statements/switch/index.html b/files/zh-tw/web/javascript/reference/statements/switch/index.html index 98aef7edf2..81a0940863 100644 --- a/files/zh-tw/web/javascript/reference/statements/switch/index.html +++ b/files/zh-tw/web/javascript/reference/statements/switch/index.html @@ -9,7 +9,7 @@ translation_of: Web/JavaScript/Reference/Statements/switch
switch 語句 會比對一個 表達式 裡頭的值是否符合 case 條件,然後執行跟這個條件相關的 陳述式, 以及此一符合條件以外,剩下其他條件裡的陳述式。
-
+

{{EmbedInteractiveExample("pages/js/statement-switch.html")}}      

diff --git a/files/zh-tw/web/security/mixed_content/how_to_fix_website_with_mixed_content/index.html b/files/zh-tw/web/security/mixed_content/how_to_fix_website_with_mixed_content/index.html index 5bf19f8c7d..467c262a65 100644 --- a/files/zh-tw/web/security/mixed_content/how_to_fix_website_with_mixed_content/index.html +++ b/files/zh-tw/web/security/mixed_content/how_to_fix_website_with_mixed_content/index.html @@ -22,7 +22,7 @@ translation_of: Web/Security/Mixed_content/How_to_fix_website_with_mixed_content

避免混合內容阻塞最好的方法,就是使用 HTTPS 而不是 HTTP 來傳輸所有的內容。

-

對於你自己的域名,使用 HTTPS 來傳輸所有內容並修正你的連結。一般而言 HTTPS 版本的內容都已經存在了,只需要在連結後面加上「s」:就是將 http:// 改成 https:// 。

+

對於你自己的域名,使用 HTTPS 來傳輸所有內容並修正你的連結。一般而言 HTTPS 版本的內容都已經存在了,只需要在連結後面加上「s」:就是將 http:// 改成 https:// 。

但有時候,媒體的路徑可能不正確。按照作業系統的不同,你可以使用線上或離線的工具如 linkchecker 來解決問題。

-- cgit v1.2.3-54-g00ecf