index.html 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <!DOCTYPE HTML>
  2. <!--
  3. /*
  4. * JavaScript Load Image Test
  5. * https://github.com/blueimp/JavaScript-Load-Image
  6. *
  7. * Copyright 2011, Sebastian Tschan
  8. * https://blueimp.net
  9. *
  10. * Licensed under the MIT license:
  11. * https://opensource.org/licenses/MIT
  12. */
  13. -->
  14. <html lang="en">
  15. <head>
  16. <!--[if IE]>
  17. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  18. <![endif]-->
  19. <meta charset="utf-8">
  20. <title>JavaScript Load Image Test</title>
  21. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  22. <link rel="stylesheet" href="vendor/mocha.css">
  23. </head>
  24. <body>
  25. <div id="mocha"></div>
  26. <script src="vendor/mocha.js"></script>
  27. <script src="vendor/chai.js"></script>
  28. <script>
  29. window.initMochaPhantomJS && initMochaPhantomJS();
  30. mocha.setup('bdd');
  31. </script>
  32. <script src="vendor/canvas-to-blob.js"></script>
  33. <script src="../js/load-image.js"></script>
  34. <script src="../js/load-image-scale.js"></script>
  35. <script src="../js/load-image-meta.js"></script>
  36. <script src="../js/load-image-fetch.js"></script>
  37. <script src="../js/load-image-exif.js"></script>
  38. <script src="../js/load-image-exif-map.js"></script>
  39. <script src="../js/load-image-orientation.js"></script>
  40. <script src="test.js"></script>
  41. <script>
  42. mocha.checkLeaks();
  43. mocha.run();
  44. </script>
  45. </body>
  46. </html>