Merge more testing coverage from henrikingo fork
* core_tests.js and navigation_tests.js have more tests * qunit_test_runner.html runs QUnit in a browser (without karma) and provides a generic iframe based platform to test different presentations. * copy qunit.js and syn.js into the repo. This allows qunit_test_runner.html to work without any dependency on node/npm. (Karma obviously does need them.) * Move jscs cli option to .jscsrc instead
This commit is contained in:
24
test/core_tests_presentation.html
Normal file
24
test/core_tests_presentation.html
Normal file
@@ -0,0 +1,24 @@
|
||||
<!DOCTYPE html>
|
||||
<!--
|
||||
Copyright 2016 Henrik Ingo (@henrikingo)
|
||||
Released under the MIT license. See LICENSE file.
|
||||
-->
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>The presentation steps used in an iframe in core_tests.js</title>
|
||||
</head>
|
||||
<!-- id is used by syn -->
|
||||
<body class="impress-not-supported" id="bodyid">
|
||||
<div id="impress">
|
||||
<div class="step" data-x="-1000" data-y="0">First slide</div>
|
||||
<div class="step" data-x="-800" data-y="0">Second slide <br /><a href="#fourth" id="linktofourth">link to fourth slide</a></div>
|
||||
<div class="step" data-x="-600" data-y="0">Third slide<br /><a href="#step-1" id="linktofirst">link to first slide</a></div>
|
||||
<div class="step" id="fourth" data-x="-400" data-y="0">Fourth slide</div>
|
||||
</div>
|
||||
<script src="../js/impress.js"></script>
|
||||
<!-- This is a copy of dist/syn.js from bower install syn. (The one in npm install doesn't work in a browser.) -->
|
||||
<!-- See http://bitovi.com/blog/2010/07/syn-a-standalone-synthetic-event-library.html for simple usage guide. -->
|
||||
<script src="syn/syn.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user