[html5] r7818 - [e] (0) Fix example. Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=18702 [...]

whatwg at whatwg.org whatwg at whatwg.org
Fri Apr 12 12:38:22 PDT 2013


Author: ianh
Date: 2013-04-12 12:38:21 -0700 (Fri, 12 Apr 2013)
New Revision: 7818

Modified:
   complete.html
   index
   source
Log:
[e] (0) Fix example.
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=18702
Affected topics: DOM APIs

Modified: complete.html
===================================================================
--- complete.html	2013-04-11 23:06:48 UTC (rev 7817)
+++ complete.html	2013-04-12 19:38:21 UTC (rev 7818)
@@ -248,7 +248,7 @@
 
   <header class=head id=head><p><a class=logo href=http://www.whatwg.org/><img alt=WHATWG height=101 src=/images/logo width=101></a></p>
    <hgroup><h1 class=allcaps>HTML</h1>
-    <h2 class="no-num no-toc">Living Standard — Last Updated 11 April 2013</h2>
+    <h2 class="no-num no-toc">Living Standard — Last Updated 12 April 2013</h2>
    </hgroup><dl><dt><strong>Web developer edition:</strong></dt>
     <dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
     <dt>Multiple-page version:</dt>
@@ -81898,9 +81898,9 @@
 }</pre>
 
   <p>Data sent on a port can be structured data; for example here an
-  array of strings is passed:</p>
+  array of strings is passed on a <code><a href=#messageport>MessagePort</a></code>:</p>
 
-  <pre>port1.postMessage(['hello', 'world'], 'http://example.com');</pre>
+  <pre>port1.postMessage(['hello', 'world']);</pre>
 
 
   <h5 id=examples-5><span class=secno>10.5.1.1 </span>Examples</h5>

Modified: index
===================================================================
--- index	2013-04-11 23:06:48 UTC (rev 7817)
+++ index	2013-04-12 19:38:21 UTC (rev 7818)
@@ -248,7 +248,7 @@
 
   <header class=head id=head><p><a class=logo href=http://www.whatwg.org/><img alt=WHATWG height=101 src=/images/logo width=101></a></p>
    <hgroup><h1 class=allcaps>HTML</h1>
-    <h2 class="no-num no-toc">Living Standard — Last Updated 11 April 2013</h2>
+    <h2 class="no-num no-toc">Living Standard — Last Updated 12 April 2013</h2>
    </hgroup><dl><dt><strong>Web developer edition:</strong></dt>
     <dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
     <dt>Multiple-page version:</dt>
@@ -81898,9 +81898,9 @@
 }</pre>
 
   <p>Data sent on a port can be structured data; for example here an
-  array of strings is passed:</p>
+  array of strings is passed on a <code><a href=#messageport>MessagePort</a></code>:</p>
 
-  <pre>port1.postMessage(['hello', 'world'], 'http://example.com');</pre>
+  <pre>port1.postMessage(['hello', 'world']);</pre>
 
 
   <h5 id=examples-5><span class=secno>10.5.1.1 </span>Examples</h5>

Modified: source
===================================================================
--- source	2013-04-11 23:06:48 UTC (rev 7817)
+++ source	2013-04-12 19:38:21 UTC (rev 7818)
@@ -95912,9 +95912,9 @@
 }</pre>
 
   <p>Data sent on a port can be structured data; for example here an
-  array of strings is passed:</p>
+  array of strings is passed on a <code>MessagePort</code>:</p>
 
-  <pre>port1.postMessage(['hello', 'world'], 'http://example.com');</pre>
+  <pre>port1.postMessage(['hello', 'world']);</pre>
 
 
   <h5>Examples</h5>




More information about the Commit-Watchers mailing list