]> source.dussan.org Git - jquery-ui.git/commitdiff
Tests: Load `jquery-1-7` module for jQuery 2.x as well
authorScott González <scott.gonzalez@gmail.com>
Mon, 15 May 2017 22:24:19 +0000 (18:24 -0400)
committerScott González <scott.gonzalez@gmail.com>
Mon, 15 May 2017 22:24:19 +0000 (18:24 -0400)
tests/lib/bootstrap.js

index 8d63c813598d501c0355b1e5f25717a6e037ea00..7f1e12dd0be5c0a7ba7c7fbcb5c5909b806f78b7 100644 (file)
@@ -172,8 +172,8 @@ function migrateUrl() {
                }
        }
 
-       // Load the jQuery 1.x fixes, if necessary
-       if ( parseFloat( parseUrl().jquery ) < 2 ) {
+       // Load the jQuery fixes, if necessary
+       if ( parseFloat( parseUrl().jquery ) < 3 ) {
                modules.push( "ui/jquery-1-7" );
        }