From: Scott González Date: Mon, 31 Aug 2015 19:33:02 +0000 (-0400) Subject: Tests: Load ui/jquery-1-7.js when testing against jQuery 1.7.x X-Git-Tag: 1.12.0-beta.1~159 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=9bb9a8bac0612e9e1dd9f9da509a3bc2749d8de6;p=jquery-ui.git Tests: Load ui/jquery-1-7.js when testing against jQuery 1.7.x --- diff --git a/tests/lib/bootstrap.js b/tests/lib/bootstrap.js index 46e0e8ad2..2fe2edd1b 100644 --- a/tests/lib/bootstrap.js +++ b/tests/lib/bootstrap.js @@ -140,6 +140,11 @@ function jqueryUrl() { } } + // Load the jQuery 1.7 fixes, if necessary + if ( parseFloat( parseUrl().jquery ) === 1.7 ) { + modules.push( "ui/jquery-1-7" ); + } + requireTests( modules, noBackCompat ); } )();