html5.mootools.html 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <!DOCTYPE html>
  2. <html debug="true">
  3. <head>
  4. <meta http-equiv="Expires" CONTENT="Mon, 06 Jan 1990 00:00:01 GMT" />
  5. <meta http-equiv="PRAGMA" CONTENT="NO-CACHE" />
  6. <meta http-equiv="CACHE-CONTROL" CONTENT="NO-CACHE" />
  7. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
  8. <title>History.js HTML5 Mootools Test Suite</title>
  9. <!-- Check -->
  10. <script>
  11. var href = window.document.location.href,
  12. test_url = href.replace(/(history\.js\/tests\/[^\/\?\#]+).*/,'$1');
  13. if ( test_url !== href ) {
  14. window.document.location.href = test_url;
  15. }
  16. </script>
  17. <!-- Framework -->
  18. <script src="../vendor/mootools.js"></script>
  19. <!-- QUnit -->
  20. <link rel="stylesheet" href="../vendor/qunit/qunit/qunit.css" type="text/css" media="screen">
  21. <script src="../vendor/qunit/qunit/qunit.js"></script>
  22. </head>
  23. <body>
  24. <!-- Elements -->
  25. <h1 id="qunit-header">History.js HTML5 Mootools Test Suite</h1>
  26. <h2 id="qunit-banner"></h2>
  27. <div id="qunit-testrunner-toolbar"></div>
  28. <h2 id="qunit-userAgent"></h2>
  29. <ol id="qunit-tests"></ol>
  30. <div id="qunit-fixture">test markup</div>
  31. <button onclick="history.back()">back</button><button onclick="history.forward()">forward</button>
  32. <textarea id="log" style="width:100%;height:400px"></textarea>
  33. <!-- History.js -->
  34. <script src="../scripts/bundled/html5/mootools.history.js"></script>
  35. <!-- Tests -->
  36. <script src="tests.js"></script>
  37. </body>
  38. </html>