mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-21 20:56:09 +03:00
First version of test files
This commit is contained in:
parent
964962a204
commit
607a4af860
4
test/test.css
Normal file
4
test/test.css
Normal file
@ -0,0 +1,4 @@
|
||||
#example {
|
||||
height: 500px;
|
||||
width: 500px;
|
||||
}
|
17
test/test.html
Normal file
17
test/test.html
Normal file
@ -0,0 +1,17 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>OpenSeadragon QUnit</title>
|
||||
<link rel="stylesheet" href="/node_modules/qunitjs/qunit/qunit.css">
|
||||
<link rel="stylesheet" href="/test/test.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="qunit"></div>
|
||||
<div id="qunit-fixture"></div>
|
||||
<div id="example"></div>
|
||||
<script src="/node_modules/qunitjs/qunit/qunit.js"></script>
|
||||
<script src="/build/openseadragon.min.js"></script>
|
||||
<script src="/test/test.js"></script>
|
||||
</body>
|
||||
</html>
|
16
test/test.js
Normal file
16
test/test.js
Normal file
@ -0,0 +1,16 @@
|
||||
test( "hello test", function() {
|
||||
ok( 1 == "1", "Passed!" );
|
||||
});
|
||||
|
||||
(function() {
|
||||
|
||||
// $(document).ready(function() {
|
||||
// OpenSeadragon({
|
||||
// id: "example",
|
||||
// prefixUrl: "/images/",
|
||||
// tileSources: "/test/dzi/dog-and-cat-collars.xml",
|
||||
// showNavigator: true
|
||||
// });
|
||||
// });
|
||||
|
||||
})();
|
Loading…
Reference in New Issue
Block a user