aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/api/dedicatedworkerglobalscope
diff options
context:
space:
mode:
authorRyan Johnson <rjohnson@mozilla.com>2021-05-28 12:05:52 -0700
committerGitHub <noreply@github.com>2021-05-28 12:05:52 -0700
commit220a7d23b0755acc06146c1262aa09ba22d6e3b1 (patch)
tree50a6ffafe663dc65f1a0f8816862d60e7ce23a33 /files/zh-cn/web/api/dedicatedworkerglobalscope
parent2958ec7e85c9a1182cd81728e3705948a2c39d71 (diff)
downloadtranslated-content-220a7d23b0755acc06146c1262aa09ba22d6e3b1.tar.gz
translated-content-220a7d23b0755acc06146c1262aa09ba22d6e3b1.tar.bz2
translated-content-220a7d23b0755acc06146c1262aa09ba22d6e3b1.zip
Revert "replace some domxref macro calls with event macro calls (#1016)" (#1017)
This reverts commit 2958ec7e85c9a1182cd81728e3705948a2c39d71.
Diffstat (limited to 'files/zh-cn/web/api/dedicatedworkerglobalscope')
-rw-r--r--files/zh-cn/web/api/dedicatedworkerglobalscope/index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/files/zh-cn/web/api/dedicatedworkerglobalscope/index.html b/files/zh-cn/web/api/dedicatedworkerglobalscope/index.html
index e6acb236ac..79044ba3cb 100644
--- a/files/zh-cn/web/api/dedicatedworkerglobalscope/index.html
+++ b/files/zh-cn/web/api/dedicatedworkerglobalscope/index.html
@@ -46,9 +46,9 @@ translation_of: Web/API/DedicatedWorkerGlobalScope
<dl>
<dt>{{domxref("DedicatedWorkerGlobalScope.onmessage")}}</dt>
- <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("message")}} event is raised. These events are of type {{domxref("MessageEvent")}} and will be called when the worker receives a message from the document that started it (i.e. from the {{domxref("Worker.postMessage")}} method.)</dd>
+ <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("message")}} event is raised. These events are of type {{domxref("MessageEvent")}} and will be called when the worker receives a message from the document that started it (i.e. from the {{domxref("Worker.postMessage")}} method.)</dd>
<dt>{{domxref("DedicatedWorkerGlobalScope.onmessageerror")}}</dt>
- <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("messageerror")}} event is raised.</dd>
+ <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("messageerror")}} event is raised.</dd>
</dl>
<h2 id="方法">方法</h2>