Checking in test

This commit is contained in:
Ian Gilman 2013-02-01 15:29:14 -08:00
parent 9e53ddb10d
commit d8677c7f8c
4 changed files with 38 additions and 1 deletions

2
.gitignore vendored
View File

@ -1,3 +1,3 @@
build/*
node_modules/*
test/*
test/dzi/*

4
test/test.css Normal file
View File

@ -0,0 +1,4 @@
#example {
height: 500px;
width: 500px;
}

17
test/test.html Normal file
View 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
View 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
// });
// });
})();