aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/api/domtokenlist/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/web/api/domtokenlist/index.html')
-rw-r--r--files/zh-cn/web/api/domtokenlist/index.html4
1 files changed, 2 insertions, 2 deletions
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}"`;</pre>
<p>输出类似这样:</p>
-<p><iframe class="live-sample-frame sample-code-frame" frameborder="0" height="60" id="frame_Examples" src="https://mdn.mozillademos.org/en-US/docs/Web/API/DOMTokenList$samples/Examples?revision=1600968" width="100%"></iframe></p>
+<p>{{ EmbedLiveSample('Examples', '100%', 60) }}</p>
<h2 id="去除空格和重复项目">去除空格和重复项目</h2>
@@ -81,7 +81,7 @@ span.textContent = `span classList is "${classes}"`;</pre>
<p>输出类似这样:</p>
-<p><iframe class="live-sample-frame sample-code-frame" frameborder="0" height="60" id="frame_Trimming_of_whitespace_and_removal_of_duplicates" src="https://mdn.mozillademos.org/en-US/docs/Web/API/DOMTokenList$samples/Trimming_of_whitespace_and_removal_of_duplicates?revision=1600968" width="100%"></iframe></p>
+<p>{{ EmbedLiveSample('Trimming_of_whitespace_and_removal_of_duplicates', '100%', 60) }}</p>
<dl>
<dt></dt>