index.html 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
  6. <link rel="stylesheet" href="test.css">
  7. <title>Zepto tests</title>
  8. </head>
  9. <body>
  10. <h1>Zepto tests</h1>
  11. <p>
  12. This file is provided for manual testing. If there's a test failure,
  13. please report the user agent:
  14. <b><script>document.write(navigator.userAgent)</script></b>
  15. </p>
  16. <p>
  17. Start a test server with (you'll need to have <a href="https://npmjs.org">npm</a> installed):<br>
  18. <br>
  19. <b>$ npm install</b> (if you haven't installed dependencies yet)<br>
  20. <b>$ npm run-script start</b>
  21. <br><br>
  22. On your device, go to<br>
  23. <b>http://your-ip-address:3000/test</b>
  24. </p>
  25. <p>
  26. To start a test, click or tap it. Use the back button of
  27. your browser to return to this index page.
  28. Functional tests may require manual interaction.
  29. </p>
  30. <h2>Default modules unit tests</h2>
  31. <ul>
  32. <li><a href="zepto.html">zepto</a> (core module, test this first!)</li>
  33. <li><a href="event.html">event</a></li>
  34. <li><a href="ajax.html">ajax</a></li>
  35. <li><a href="form.html">form</a></li>
  36. </ul>
  37. <h2>Other modules unit test</h2>
  38. <ul>
  39. <li><a href="fx.html">fx</a></li>
  40. <li><a href="detect.html">detect</a></li>
  41. <li><a href="data.html">data</a></li>
  42. <li><a href="selector.html">selector</a></li>
  43. <li><a href="stack.html">stack</a></li>
  44. <li><a href="touch.html">touch</a></li>
  45. <li><a href="deferred.html">deferred</a></li>
  46. <li><a href="ajax_deferred.html">ajax + deferred</a></li>
  47. <li><a href="callbacks.html">callbacks</a></li>
  48. <li><a href="ios3.html">ios3</a></li>
  49. <li><a href="ie.html">ie</a></li>
  50. </ul>
  51. <h2>Functional tests</h2>
  52. <ul>
  53. <li><a href="functional/assets.html">assets</a></li>
  54. <li><a href="functional/fx.html">fx</a></li>
  55. <li><a href="functional/gesture.html">gesture</a></li>
  56. <li><a href="functional/touch.html">touch</a></li>
  57. <li><a href="functional/touchcancel.html">touchcancel</a></li>
  58. </ul>
  59. <script>
  60. // avoid caching
  61. (function(){
  62. [].slice.apply(document.getElementsByTagName('a')).forEach(function(link){
  63. link.href += '?' + (+new Date)
  64. })
  65. })()
  66. </script>
  67. </body>