Front end of the Slack clone application.

test.nodriver.html 1.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <!doctype html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <title>localForage Tests!</title>
  6. <link rel="stylesheet" href="/bower_components/mocha/mocha.css">
  7. <script src="/bower_components/assert/assert.js"></script>
  8. <script src="/bower_components/mocha/mocha.js"></script>
  9. <script src="/bower_components/expect/index.js"></script>
  10. <script>
  11. // Virtually remove support for the drivers.
  12. // This has to be done before localforage
  13. // and Modernizr execute.
  14. try {
  15. window.indexedDB.open = null;
  16. } catch (error) { }
  17. try {
  18. window.localStorage.setItem = null;
  19. } catch (error) { }
  20. try {
  21. window.openDatabase = null;
  22. } catch (error) { }
  23. </script>
  24. <!-- Modernizr -->
  25. <script src="/bower_components/modernizr/modernizr.js"></script>
  26. <!-- Test runner -->
  27. <script src="/test/runner.js"></script>
  28. <!-- localForage -->
  29. <script src="/dist/localforage.js"></script>
  30. <!-- specs -->
  31. <script src="/test/test.nodriver.js"></script>
  32. </head>
  33. <body>
  34. <div id="mocha"></div>
  35. </body>
  36. </html>