aboutsummaryrefslogtreecommitdiff
path: root/js/tests/index.html
diff options
context:
space:
mode:
authorJohann-S <[email protected]>2018-03-03 23:04:11 +0200
committerXhmikosR <[email protected]>2018-10-20 15:32:09 +0300
commitcaefd7046372e954d21550bbdadcabf98b2a86f0 (patch)
tree9e1835a7d61a8302c4dcaaff5b5a023efcae96b1 /js/tests/index.html
parentbf573896472c83e2b85b52f6cbf606765b73cb3e (diff)
downloadbootstrap-caefd7046372e954d21550bbdadcabf98b2a86f0.tar.xz
bootstrap-caefd7046372e954d21550bbdadcabf98b2a86f0.zip
Add touch support in our carousel with HammerJS.
Diffstat (limited to 'js/tests/index.html')
-rw-r--r--js/tests/index.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/js/tests/index.html b/js/tests/index.html
index ce4a0e308..201e15f2a 100644
--- a/js/tests/index.html
+++ b/js/tests/index.html
@@ -20,6 +20,7 @@
}())
</script>
<script src="../../node_modules/popper.js/dist/umd/popper.min.js"></script>
+ <script src="../../node_modules/hammerjs/hammer.min.js"></script>
<!-- QUnit -->
<link rel="stylesheet" href="../../node_modules/qunit/qunit/qunit.css" media="screen">
@@ -28,6 +29,9 @@
<!-- Sinon -->
<script src="../../node_modules/sinon/pkg/sinon-no-sourcemaps.js"></script>
+ <!-- Hammer simulator -->
+ <script src="../../node_modules/hammer-simulator/index.js"></script>
+
<script>
// Disable jQuery event aliases to ensure we don't accidentally use any of them
[