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

This commit is contained in:
Michał Gołębiowski 2015-03-16 17:54:36 +01:00
parent 17bd6e9cf9
commit 0b07c65250

View File

@ -15,6 +15,7 @@
<script src="../external/qunit/qunit.js"></script>
<script src="../external/requirejs/require.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 -->
<script src="data/testinit.js"></script>
@ -25,6 +26,13 @@
<script src="jquery.js"></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
// This is in a different script tag to ensure that
// jQuery is on the page when the testrunner executes