From d62c8afe56395e9e793dab0f629b2a1694449c82 Mon Sep 17 00:00:00 2001 From: t7yang Date: Tue, 22 Jun 2021 23:06:54 +0800 Subject: remove deprecated $sample URLs for zh --- files/zh-cn/web/api/datatransfer/getdata/index.html | 2 +- files/zh-cn/web/api/document/readystatechange_event/index.html | 2 +- files/zh-cn/web/api/domtokenlist/index.html | 4 ++-- files/zh-cn/web/api/element/mouseout_event/index.html | 2 +- files/zh-cn/web/api/htmlelement/beforeinput_event/index.html | 2 +- files/zh-cn/web/api/htmlelement/input_event/index.html | 2 +- files/zh-cn/web/api/htmlinputelement/setselectionrange/index.html | 2 +- files/zh-cn/web/api/htmlselectelement/selectedindex/index.html | 2 +- files/zh-cn/web/api/mouseevent/screenx/index.html | 2 +- files/zh-cn/web/api/mouseevent/screeny/index.html | 2 +- files/zh-cn/web/api/range/selectnodecontents/index.html | 2 +- files/zh-cn/web/api/range/surroundcontents/index.html | 2 +- 12 files changed, 13 insertions(+), 13 deletions(-) (limited to 'files/zh-cn/web/api') diff --git a/files/zh-cn/web/api/datatransfer/getdata/index.html b/files/zh-cn/web/api/datatransfer/getdata/index.html index 6e8916bb16..49de150341 100644 --- a/files/zh-cn/web/api/datatransfer/getdata/index.html +++ b/files/zh-cn/web/api/datatransfer/getdata/index.html @@ -78,7 +78,7 @@ function drop(dropevent) {

结果

-

+

{{ EmbedLiveSample('Example', 600) }}

说明

diff --git a/files/zh-cn/web/api/document/readystatechange_event/index.html b/files/zh-cn/web/api/document/readystatechange_event/index.html index 769a0cd3c5..7a79b32769 100644 --- a/files/zh-cn/web/api/document/readystatechange_event/index.html +++ b/files/zh-cn/web/api/document/readystatechange_event/index.html @@ -111,7 +111,7 @@ document.addEventListener('DOMContentLoaded', (event) => {

结果

-

+

{{ EmbedLiveSample('Live_example', '100%', '160px') }}

规范

diff --git a/files/zh-cn/web/api/domtokenlist/index.html b/files/zh-cn/web/api/domtokenlist/index.html index e67bee5432..2b3fc0f336 100644 --- a/files/zh-cn/web/api/domtokenlist/index.html +++ b/files/zh-cn/web/api/domtokenlist/index.html @@ -66,7 +66,7 @@ para.textContent = `paragraph classList is "${classes}"`;

输出类似这样:

-

+

{{ EmbedLiveSample('Examples', '100%', 60) }}

去除空格和重复项目

@@ -81,7 +81,7 @@ span.textContent = `span classList is "${classes}"`;

输出类似这样:

-

+

{{ EmbedLiveSample('Trimming_of_whitespace_and_removal_of_duplicates', '100%', 60) }}

diff --git a/files/zh-cn/web/api/element/mouseout_event/index.html b/files/zh-cn/web/api/element/mouseout_event/index.html index f77a4e8162..c964492f39 100644 --- a/files/zh-cn/web/api/element/mouseout_event/index.html +++ b/files/zh-cn/web/api/element/mouseout_event/index.html @@ -85,7 +85,7 @@ test.addEventListener("mouseout", function( event ) {

结果

-

+

{{EmbedLiveSample("mouseout_and_mouseleave", 640, 200)}}

规范

diff --git a/files/zh-cn/web/api/htmlelement/beforeinput_event/index.html b/files/zh-cn/web/api/htmlelement/beforeinput_event/index.html index fa11a7588c..c67e364cb9 100644 --- a/files/zh-cn/web/api/htmlelement/beforeinput_event/index.html +++ b/files/zh-cn/web/api/htmlelement/beforeinput_event/index.html @@ -71,7 +71,7 @@ function updateValue(e) {

结果

-

+

{{EmbedLiveSample("Simple_logger")}}

规范

diff --git a/files/zh-cn/web/api/htmlelement/input_event/index.html b/files/zh-cn/web/api/htmlelement/input_event/index.html index f2921d53e2..3108ca825d 100644 --- a/files/zh-cn/web/api/htmlelement/input_event/index.html +++ b/files/zh-cn/web/api/htmlelement/input_event/index.html @@ -68,7 +68,7 @@ function updateValue(e) {

结果

-

+

{{EmbedLiveSample("Examples")}}

规范

diff --git a/files/zh-cn/web/api/htmlinputelement/setselectionrange/index.html b/files/zh-cn/web/api/htmlinputelement/setselectionrange/index.html index 1dfc53223b..0d7070858d 100644 --- a/files/zh-cn/web/api/htmlinputelement/setselectionrange/index.html +++ b/files/zh-cn/web/api/htmlinputelement/setselectionrange/index.html @@ -65,7 +65,7 @@ translation_of: Web/API/HTMLInputElement/setSelectionRange

结果

-

+

{{EmbedLiveSample("Example")}}

规范

diff --git a/files/zh-cn/web/api/htmlselectelement/selectedindex/index.html b/files/zh-cn/web/api/htmlselectelement/selectedindex/index.html index 90217f241b..6e720db9b0 100644 --- a/files/zh-cn/web/api/htmlselectelement/selectedindex/index.html +++ b/files/zh-cn/web/api/htmlselectelement/selectedindex/index.html @@ -47,7 +47,7 @@ selectElem.addEventListener('change', function() { pElem.innerHTML = 'selectedIndex: ' + index; }) -

+

{{EmbedLiveSample("Example", "200px", "80px")}}

规范

diff --git a/files/zh-cn/web/api/mouseevent/screenx/index.html b/files/zh-cn/web/api/mouseevent/screenx/index.html index 1f3f484d14..05a83f9ba0 100644 --- a/files/zh-cn/web/api/mouseevent/screenx/index.html +++ b/files/zh-cn/web/api/mouseevent/screenx/index.html @@ -48,7 +48,7 @@ function logKey(e) {

结果

-

+

{{EmbedLiveSample("Example")}}

规范

diff --git a/files/zh-cn/web/api/mouseevent/screeny/index.html b/files/zh-cn/web/api/mouseevent/screeny/index.html index 4ae5210e23..4286534635 100644 --- a/files/zh-cn/web/api/mouseevent/screeny/index.html +++ b/files/zh-cn/web/api/mouseevent/screeny/index.html @@ -44,7 +44,7 @@ function logKey(e) {

结果

-

+

{{EmbedLiveSample("Example")}}

规范

diff --git a/files/zh-cn/web/api/range/selectnodecontents/index.html b/files/zh-cn/web/api/range/selectnodecontents/index.html index 6192db8697..fa583e3bb7 100644 --- a/files/zh-cn/web/api/range/selectnodecontents/index.html +++ b/files/zh-cn/web/api/range/selectnodecontents/index.html @@ -68,7 +68,7 @@ deselectButton.addEventListener('click', e => {

结果

-

+

{{EmbedLiveSample("Live_sample")}}

规范

diff --git a/files/zh-cn/web/api/range/surroundcontents/index.html b/files/zh-cn/web/api/range/surroundcontents/index.html index 58695a43f4..61304bd40b 100644 --- a/files/zh-cn/web/api/range/surroundcontents/index.html +++ b/files/zh-cn/web/api/range/surroundcontents/index.html @@ -45,7 +45,7 @@ range.surroundContents(newParent);

结果

-

+

{{EmbedLiveSample("Example")}}

规范

-- cgit v1.2.3-54-g00ecf