aboutsummaryrefslogtreecommitdiff
path: root/test/test-state.html
diff options
context:
space:
mode:
Diffstat (limited to 'test/test-state.html')
-rw-r--r--test/test-state.html7
1 files changed, 2 insertions, 5 deletions
diff --git a/test/test-state.html b/test/test-state.html
index 61736d0..9fca96e 100644
--- a/test/test-state.html
+++ b/test/test-state.html
@@ -8,6 +8,7 @@
<link rel="stylesheet" href="../dist/reveal.css">
<link rel="stylesheet" href="qunit-2.5.0.css">
+ <script src="qunit-2.5.0.js"></script>
</head>
<body style="overflow: auto;">
@@ -36,12 +37,10 @@
</div>
<script src="../dist/reveal.min.js"></script>
- <script src="qunit-2.5.0.js"></script>
-
<script>
- Reveal.addEventListener( 'ready', function() {
+ Reveal.initialize().then( function() {
QUnit.module( 'State' );
@@ -131,8 +130,6 @@
});
} );
-
- Reveal.initialize();
</script>
</body>