mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-25 06:36:11 +03:00
Checking in test
This commit is contained in:
parent
9e53ddb10d
commit
d8677c7f8c
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,3 +1,3 @@
|
||||
build/*
|
||||
node_modules/*
|
||||
test/*
|
||||
test/dzi/*
|
||||
|
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