index.html 967 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <!DOCTYPE HTML>
  2. <!--
  3. /*
  4. * JavaScript Canvas to Blob Test
  5. * https://github.com/blueimp/JavaScript-Canvas-to-Blob
  6. *
  7. * Copyright 2012, Sebastian Tschan
  8. * https://blueimp.net
  9. *
  10. * Licensed under the MIT license:
  11. * http://www.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 Canvas to Blob 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/expect.js"></script>
  28. <script>
  29. window.initMochaPhantomJS && initMochaPhantomJS();
  30. mocha.setup('bdd');
  31. </script>
  32. <script src="vendor/load-image.js"></script>
  33. <script src="../js/canvas-to-blob.js"></script>
  34. <script src="test.js"></script>
  35. <script>
  36. mocha.checkLeaks();
  37. mocha.run();
  38. </script>
  39. </body>
  40. </html>