forked from noelboss/featherlight
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfeatherlight_gallery.html
More file actions
68 lines (64 loc) · 2.46 KB
/
featherlight_gallery.html
File metadata and controls
68 lines (64 loc) · 2.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Featherlight Gallery Test Suite</title>
<link rel="stylesheet" href="../bower_components/mocha/mocha.css" />
<link rel="stylesheet" href="../src/featherlight.css" />
<link rel="stylesheet" href="../src/featherlight.gallery.css" />
</head>
<body>
<div id="mocha"></div>
<script src="../bower_components/jquery/jquery.js"></script>
<script src="../bower_components/lodash/lodash.js"></script>
<script src="../bower_components/chai/chai.js"></script>
<script src="../bower_components/chai-jquery/chai-jquery.js"></script>
<script src="../bower_components/chai-properties/chai-properties.js"></script>
<script src="../bower_components/mocha/mocha.js"></script>
<script>mocha.setup('bdd')</script>
<script src="../src/featherlight.js"></script>
<script src="../src/featherlight.gallery.js"></script>
<script src="helpers/patiently.js"></script>
<script src="featherlight_gallery_test.js"></script>
<script>
if (navigator.userAgent.indexOf('PhantomJS') < 0) {
mocha.checkLeaks();
mocha.globals(['jQuery*']);
mocha.run();
}
</script>
<section id="fixtures">
<span id="basic-test">
<a href="fixtures/photo_large.jpg?0"><img src="fixtures/photo.jpeg?0"></a>
<a href="fixtures/photo_large.jpg?1"><img src="fixtures/photo.jpeg?1"></a>
<a href="fixtures/photo_large.jpg?2"><img src="fixtures/photo.jpeg?2"></a>
<a href="fixtures/photo_large.jpg?3"><img src="fixtures/photo.jpeg?3"></a>
</span>
<span id="extra-test"
data-featherlight-next-icon="}"
data-featherlight-after-content="this.called = true"
data-featherlight-filter="a"
>
<a href="fixtures/photo_large.jpg?extra_0"><img src="fixtures/photo.jpeg?0"></a>
<a href=".some-content"><img src="fixtures/photo.jpeg?1"></a>
</span>
<ul class="some-content">
<li>Hello</li>
<li>world</li>
</ul>
<div id="full-auto"
data-featherlight-gallery
data-featherlight-filter="a"
>
<a href="fixtures/photo_large.jpg?auto_0"><img src="fixtures/photo.jpeg?auto_0"></a>
<a href="fixtures/photo_large.jpg?auto_1"><img src="fixtures/photo.jpeg?auto_1"></a>
</div>
<div id="just-to-be-sure-auto-bound-galleries-are-independent"
data-featherlight-gallery
data-featherlight-filter="a"
>
<a href="fixtures/photo_large.jpg?auto_2"><img src="fixtures/photo.jpeg?auto_2"></a>
</div>
</section>
</body>
</html>