mirror of
https://github.com/jquery/jquery.git
synced 2025-01-10 18:24:24 +00:00
Tests: Restore IE8 workarounds (Sinon timers for IE & HTML5 shiv)
This commit is contained in:
parent
17bd6e9cf9
commit
0b07c65250
@ -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 @@
|
|||||||
<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
|
||||||
|
Loading…
Reference in New Issue
Block a user