index.html 909 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. <!DOCTYPE HTML>
  2. <!--
  3. /*
  4. * JavaScript Templates Test
  5. * https://github.com/blueimp/JavaScript-Templates
  6. *
  7. * Copyright 2011, 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 Templates 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. mocha.setup('bdd');
  30. </script>
  31. <script type="text/x-tmpl" id="template">{%=o.value%}</script>
  32. <script src="../js/tmpl.js"></script>
  33. <script src="test.js"></script>
  34. <script>
  35. mocha.checkLeaks();
  36. mocha.run();
  37. </script>
  38. </body>
  39. </html>