54 lines
1.9 KiB
HTML
54 lines
1.9 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>ZeroClipboard unit tests: client/private.js</title>
|
|
<link rel="stylesheet" href="../../node_modules/qunitjs/qunit/qunit.css">
|
|
<script src="../../node_modules/qunitjs/qunit/qunit.js"></script>
|
|
<script>
|
|
// Polyfill in future functionality: https://github.com/jquery/qunit/issues/490
|
|
if (!QUnit.assert.expect) {
|
|
QUnit.assert.expect = QUnit.expect;
|
|
}
|
|
|
|
// Require `expect` calls
|
|
QUnit.config.requireExpects = true;
|
|
|
|
// Prevent against Firefox/Firebug failing the global pollution check
|
|
var getInterface = null;
|
|
|
|
// Prevent against failing the global pollution check in all browsers other than IE
|
|
if (typeof window.ActiveXObject === "undefined") {
|
|
window.ActiveXObject = null;
|
|
}
|
|
|
|
// Prevent against Flash's ExternalInterface failing the global pollution check (seems to be only in IE < 11)
|
|
var __flash__arrayToXML = null,
|
|
__flash__argumentsToXML = null,
|
|
__flash__objectToXML = null,
|
|
__flash__escapeXML = null,
|
|
__flash__toXML = null,
|
|
__flash__addCallback = null,
|
|
__flash__removeCallback = null,
|
|
__flash__request = null;
|
|
</script>
|
|
<script src="../../src/js/shared/state.js"></script>
|
|
<script src="../../src/js/shared/private.js"></script>
|
|
<script src="../../src/js/core/state.js"></script>
|
|
<script src="../../src/js/core/private.js"></script>
|
|
<script src="../../src/js/core/api.js"></script>
|
|
<script src="../../src/js/client/state.js"></script>
|
|
<script src="../../src/js/client/private.js"></script>
|
|
<script src="../../node_modules/jquery/dist/jquery.js"></script>
|
|
<script src="private.tests.js"></script>
|
|
</head>
|
|
<body>
|
|
<div id="qunit"></div>
|
|
<div id="qunit-fixture">
|
|
<p>
|
|
<button id="d_clip_button" class="my_clip_button" title="Click me to copy to clipboard." data-clipboard-text="Copy me!"><b>Copy To Clipboard...</b></button>
|
|
</p>
|
|
</div>
|
|
</body>
|
|
</html>
|