html5/spec Overview.html,1.4271,1.4272

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

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

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.4271
retrieving revision 1.4272
diff -u -d -r1.4271 -r1.4272
--- Overview.html	26 Aug 2010 01:50:19 -0000	1.4271
+++ Overview.html	26 Aug 2010 01:56:58 -0000	1.4272
@@ -42802,8 +42802,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);

Received on Thursday, 26 August 2010 01:57:05 UTC