Permalink
Browse files

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

  • Loading branch information...
mgol committed Mar 16, 2015
1 parent 17bd6e9 commit 0b07c652506c957e1de9eb8a620bc35f6c78296a
Showing with 8 additions and 0 deletions.
  1. +8 −0 test/index.html
View
@@ -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

0 comments on commit 0b07c65

Please sign in to comment.