W3C home > Mailing lists > Public > public-html-commits@w3.org > June 2011

html5/workers Overview.html,1.294,1.295

From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
Date: Tue, 21 Jun 2011 22:04:58 +0000
To: public-html-commits@w3.org
Message-Id: <E1QZ946-0003r8-HZ@lionel-hutz.w3.org>
Update of /sources/public/html5/workers
In directory hutz:/tmp/cvs-serv14807

Modified Files:
	Overview.html 
Log Message:
improve explanatory text (whatwg r6266)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/workers/Overview.html,v
retrieving revision 1.294
retrieving revision 1.295
diff -u -d -r1.294 -r1.295
--- Overview.html	21 Jun 2011 21:26:39 -0000	1.294
+++ Overview.html	21 Jun 2011 22:04:56 -0000	1.295
@@ -405,8 +405,9 @@
   // found a prime!
   postMessage(n);
 }</pre><p>The bulk of this code is simply an unoptimized search for a prime
-  number. To send a message back to the page, the <code title="dom-DedicatedWorkerGlobalScope-send">send()</code>
-  method is used to post a message when a prime is found.<p><a href="http://www.whatwg.org/demos/workers/primes/page.html">View this example online</a>.<h4 id="a-worker-for-updating-a-client-side-database"><span class="secno">1.2.2 </span>A worker for updating a client-side database</h4><p><i>This section is non-normative.</i><p>In this example, the main document spawns a worker whose only
+  number. The <code title="dom-DedicatedWorkerGlobalScope-postMessage"><a href="#dom-dedicatedworkerglobalscope-postmessage">postMessage()</a></code>
+  method is used to send a message back to the page when a prime is
+  found.<p><a href="http://www.whatwg.org/demos/workers/primes/page.html">View this example online</a>.<h4 id="a-worker-for-updating-a-client-side-database"><span class="secno">1.2.2 </span>A worker for updating a client-side database</h4><p><i>This section is non-normative.</i><p>In this example, the main document spawns a worker whose only
   task is to listen for notifications from the server, and, when
   appropriate, either add or remove data from the client-side
   database.<p>Since no communication occurs between the worker and the main
Received on Tuesday, 21 June 2011 22:05:00 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 21 June 2011 22:05:00 GMT