ZeroClipboard.Core.tests.js.html 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>ZeroClipboard.Core.js unit tests</title>
  6. <link rel="stylesheet" href="../../node_modules/qunitjs/qunit/qunit.css">
  7. <script src="../../node_modules/qunitjs/qunit/qunit.js"></script>
  8. <script>
  9. // Polyfill in future functionality: https://github.com/jquery/qunit/issues/490
  10. if (!QUnit.assert.expect) {
  11. QUnit.assert.expect = QUnit.expect;
  12. }
  13. // Require `expect` calls
  14. QUnit.config.requireExpects = true;
  15. // Prevent against Firefox/Firebug failing the global pollution check
  16. var getInterface = null;
  17. // Prevent against failing the global pollution check in all browsers other than IE
  18. if (typeof window.ActiveXObject === "undefined") {
  19. window.ActiveXObject = null;
  20. }
  21. // Prevent against Flash's ExternalInterface failing the global pollution check (seems to be only in IE < 11)
  22. var __flash__arrayToXML = null,
  23. __flash__argumentsToXML = null,
  24. __flash__objectToXML = null,
  25. __flash__escapeXML = null,
  26. __flash__toXML = null,
  27. __flash__addCallback = null,
  28. __flash__removeCallback = null,
  29. __flash__request = null;
  30. </script>
  31. <script src="../../dist/ZeroClipboard.Core.js"></script>
  32. <script src="../../node_modules/jquery/dist/jquery.js"></script>
  33. <script src="ZeroClipboard.Core.tests.js"></script>
  34. </head>
  35. <body>
  36. <div id="qunit"></div>
  37. <div id="qunit-fixture"></div>
  38. </body>
  39. </html>