Commit 0b07c652 authored by Michał Gołębiowski's avatar Michał Gołębiowski

Tests: Restore IE8 workarounds (Sinon timers for IE & HTML5 shiv)

parent 17bd6e9c
...@@ -15,6 +15,7 @@ ...@@ -15,6 +15,7 @@
<script src="../external/qunit/qunit.js"></script> <script src="../external/qunit/qunit.js"></script>
<script src="../external/requirejs/require.js"></script> <script src="../external/requirejs/require.js"></script>
<script src="../external/sinon/fake_timers.js"></script> <script src="../external/sinon/fake_timers.js"></script>
<script src="../external/sinon/timers_ie.js"></script>
<!-- See testinit for the list of tests --> <!-- See testinit for the list of tests -->
<script src="data/testinit.js"></script> <script src="data/testinit.js"></script>
...@@ -25,6 +26,13 @@ ...@@ -25,6 +26,13 @@
<script src="jquery.js"></script> <script src="jquery.js"></script>
<script> <script>
// html5shiv, enabling HTML5 elements to be used with jQuery
( "abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup " +
"mark meter nav output progress section summary time video"
).replace(/\w+/g, function(n) {
document.createElement(n);
});
// Load tests if they have not been loaded // Load tests if they have not been loaded
// This is in a different script tag to ensure that // This is in a different script tag to ensure that
// jQuery is on the page when the testrunner executes // jQuery is on the page when the testrunner executes
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment