html5/spec history.html,1.1002,1.1003 spec.html,1.1182,1.1183

Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv18361

Modified Files:
	history.html spec.html 
Log Message:
fix pushState() example (whatwg r5355)

[updated by splitter]


Index: history.html
===================================================================
RCS file: /sources/public/html5/spec/history.html,v
retrieving revision 1.1002
retrieving revision 1.1003
diff -u -d -r1.1002 -r1.1003
--- history.html	25 Aug 2010 23:36:33 -0000	1.1002
+++ history.html	26 Aug 2010 02:06:34 -0000	1.1003
@@ -703,8 +703,8 @@
 <script>
  var currentPage = 5; // prefilled by server
  function go(d) {
-   history.pushState(currentPage, 'Line Game - ' + currentPage, '?x=' + currentPage);
    setupPage(currentPage + d);
+   history.pushState(currentPage, document.title, '?x=' + currentPage);
  }
  onpopstate = function(event) {
    setupPage(event.state);

Index: spec.html
===================================================================
RCS file: /sources/public/html5/spec/spec.html,v
retrieving revision 1.1182
retrieving revision 1.1183
diff -u -d -r1.1182 -r1.1183
--- spec.html	26 Aug 2010 01:56:33 -0000	1.1182
+++ spec.html	26 Aug 2010 02:06:34 -0000	1.1183
@@ -336,7 +336,7 @@
     <a href="Overview.html">single page HTML</a>,
     <a href="spec.html">multipage HTML</a>,
     <a href="author/">web developer edition</a>.
-This is revision 1.4271.
+This is revision 1.4272.
    </p> 
      <p class="copyright"><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a>
    &#169; 2010 <a href="http://www.w3.org/"><abbr title="World Wide

Received on Thursday, 26 August 2010 02:06:38 UTC