1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="utf-8">
- <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
- <link rel="stylesheet" href="test.css">
- <title>Zepto tests</title>
- </head>
- <body>
- <h1>Zepto tests</h1>
- <p>
- This file is provided for manual testing. If there's a test failure,
- please report the user agent:
- <b><script>document.write(navigator.userAgent)</script></b>
- </p>
- <p>
- Start a test server with (you'll need to have <a href="https://npmjs.org">npm</a> installed):<br>
- <br>
- <b>$ npm install</b> (if you haven't installed dependencies yet)<br>
- <b>$ npm run-script start</b>
- <br><br>
- On your device, go to<br>
- <b>http://your-ip-address:3000/test</b>
- </p>
- <p>
- To start a test, click or tap it. Use the back button of
- your browser to return to this index page.
- Functional tests may require manual interaction.
- </p>
- <h2>Default modules unit tests</h2>
- <ul>
- <li><a href="zepto.html">zepto</a> (core module, test this first!)</li>
- <li><a href="event.html">event</a></li>
- <li><a href="ajax.html">ajax</a></li>
- <li><a href="form.html">form</a></li>
- </ul>
- <h2>Other modules unit test</h2>
- <ul>
- <li><a href="fx.html">fx</a></li>
- <li><a href="detect.html">detect</a></li>
- <li><a href="data.html">data</a></li>
- <li><a href="selector.html">selector</a></li>
- <li><a href="stack.html">stack</a></li>
- <li><a href="touch.html">touch</a></li>
- <li><a href="deferred.html">deferred</a></li>
- <li><a href="ajax_deferred.html">ajax + deferred</a></li>
- <li><a href="callbacks.html">callbacks</a></li>
- <li><a href="ios3.html">ios3</a></li>
- <li><a href="ie.html">ie</a></li>
- </ul>
- <h2>Functional tests</h2>
- <ul>
- <li><a href="functional/assets.html">assets</a></li>
- <li><a href="functional/fx.html">fx</a></li>
- <li><a href="functional/gesture.html">gesture</a></li>
- <li><a href="functional/touch.html">touch</a></li>
- <li><a href="functional/touchcancel.html">touchcancel</a></li>
- </ul>
- <script>
- // avoid caching
- (function(){
- [].slice.apply(document.getElementsByTagName('a')).forEach(function(link){
- link.href += '?' + (+new Date)
- })
- })()
- </script>
- </body>
|