webstorage; hixie: bug in example (whatwg r6129)

webstorage; hixie: bug in example (whatwg r6129)

http://dev.w3.org/cvsweb/html5/webstorage/Overview.html?r1=1.166&r2=1.167&f=h
http://html5.org/tools/web-apps-tracker?from=6128&to=6129

===================================================================
RCS file: /sources/public/html5/webstorage/Overview.html,v
retrieving revision 1.166
retrieving revision 1.167
diff -u -d -r1.166 -r1.167
--- Overview.html 10 May 2011 05:53:17 -0000 1.166
+++ Overview.html 12 May 2011 03:31:09 -0000 1.167
@@ -210,7 +210,7 @@
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
 
    <h1>Web Storage</h1>
-   <h2 class="no-num no-toc" id="editor-s-draft-10-may-2011">Editor's Draft 10 May 2011</h2>
+   <h2 class="no-num no-toc" id="editor-s-draft-12-may-2011">Editor's Draft 12 May 2011</h2>
    <dl><dt>Latest Published Version:</dt>
     <dd><a href="http://www.w3.org/TR/webstorage/">http://www.w3.org/TR/webstorage/</a></dd>
     <dt>Latest Editor's Draft:</dt>
@@ -311,7 +311,7 @@
   </dl><p>The W3C <a href="http://www.w3.org/2008/webapps/">Web Applications
   Working Group</a> is the W3C working group responsible for this
   specification's progress along the W3C Recommendation track.
-  This specification is the 10 May 2011 Editor's Draft.
+  This specification is the 12 May 2011 Editor's Draft.
   </p><p>This document was produced by a group operating under the <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/">5
   February 2004 W3C Patent Policy</a>. W3C maintains a <a href="http://www.w3.org/2004/01/pp-impl/42538/status" rel="disclosure">public list of
   any patent disclosures</a> made in connection with the deliverables
@@ -408,7 +408,7 @@
 &lt;script&gt;
   if (!localStorage.pageLoadCount)
     localStorage.pageLoadCount = 0;
-  localStorage.pageLoadCount += 1;
+  localStorage.pageLoadCount = parseInt(localStorage.pageLoadCount) + 1;
   document.getElementById('count').textContent = localStorage.pageLoadCount;
 &lt;/script&gt;</pre>

Received on Thursday, 12 May 2011 03:36:43 UTC