impressConsole broke init() if root element didn't have id="impress"
Also adds regression tests to prevent this from happening in the future as well as upgrades karma-chrome-launcher to newest version. Fixes #654
This commit is contained in:
18
test/non_default.html
Normal file
18
test/non_default.html
Normal file
@@ -0,0 +1,18 @@
|
||||
<!DOCTYPE html>
|
||||
<!--
|
||||
Copyright 2016 Henrik Ingo (@henrikingo)
|
||||
Released under the MIT license. See LICENSE file.
|
||||
-->
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>A test presentation with non-default value for the root div id</title>
|
||||
</head>
|
||||
<body class="impress-not-supported">
|
||||
<div id="non-default-id">
|
||||
<div class="step" data-x="-1000" data-y="0">First slide</div>
|
||||
<div class="step" data-x="-800" data-y="0">Second slide</div>
|
||||
</div>
|
||||
<script src="../js/impress.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user