fp.html 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <!doctype html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <title>lodash-fp Test Suite</title>
  6. <link rel="stylesheet" href="../node_modules/qunitjs/qunit/qunit.css">
  7. </head>
  8. <body>
  9. <script>
  10. // Avoid reporting tests to Sauce Labs when script errors occur.
  11. if (location.port == '9001') {
  12. window.onerror = function(message) {
  13. if (window.QUnit) {
  14. QUnit.config.done.length = 0;
  15. }
  16. global_test_results = { 'message': message };
  17. };
  18. }
  19. </script>
  20. <script src="../lodash.js"></script>
  21. <script src="../dist/lodash.fp.js"></script>
  22. <script src="../dist/mapping.fp.js"></script>
  23. <script src="../node_modules/qunitjs/qunit/qunit.js"></script>
  24. <script src="../node_modules/qunit-extras/qunit-extras.js"></script>
  25. <script src="../node_modules/platform/platform.js"></script>
  26. <script src="./test-fp.js"></script>
  27. <div id="qunit"></div>
  28. <script>
  29. // Set a more readable browser name.
  30. window.onload = function() {
  31. var timeoutId = setInterval(function() {
  32. var ua = document.getElementById('qunit-userAgent');
  33. if (ua) {
  34. ua.innerHTML = platform;
  35. clearInterval(timeoutId);
  36. }
  37. }, 16);
  38. };
  39. </script>
  40. </body>
  41. </html>