Skip to content

Commit 0b07c65

Browse files
committed
Tests: Restore IE8 workarounds (Sinon timers for IE & HTML5 shiv)
1 parent 17bd6e9 commit 0b07c65

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

test/index.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
<script src="../external/qunit/qunit.js"></script>
1616
<script src="../external/requirejs/require.js"></script>
1717
<script src="../external/sinon/fake_timers.js"></script>
18+
<script src="../external/sinon/timers_ie.js"></script>
1819
<!-- See testinit for the list of tests -->
1920
<script src="data/testinit.js"></script>
2021

@@ -25,6 +26,13 @@
2526
<script src="jquery.js"></script>
2627

2728
<script>
29+
// html5shiv, enabling HTML5 elements to be used with jQuery
30+
( "abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup " +
31+
"mark meter nav output progress section summary time video"
32+
).replace(/\w+/g, function(n) {
33+
document.createElement(n);
34+
});
35+
2836
// Load tests if they have not been loaded
2937
// This is in a different script tag to ensure that
3038
// jQuery is on the page when the testrunner executes

0 commit comments

Comments
 (0)