From: Scott González Date: Wed, 10 May 2017 13:02:53 +0000 (-0400) Subject: Tests: Load the `jquery-1-7` module for all 1.x versions X-Git-Tag: 1.13.0-alpha.1~71 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=39bbe70b54269903de5b4949cf91f1a625f24c3e;p=jquery-ui.git Tests: Load the `jquery-1-7` module for all 1.x versions --- diff --git a/tests/lib/bootstrap.js b/tests/lib/bootstrap.js index 1a0149160..8d63c8135 100644 --- a/tests/lib/bootstrap.js +++ b/tests/lib/bootstrap.js @@ -172,8 +172,8 @@ function migrateUrl() { } } - // Load the jQuery 1.7 fixes, if necessary - if ( parseFloat( parseUrl().jquery ) === 1.7 ) { + // Load the jQuery 1.x fixes, if necessary + if ( parseFloat( parseUrl().jquery ) < 2 ) { modules.push( "ui/jquery-1-7" ); }