]> source.dussan.org Git - jquery-ui.git/commitdiff
Tests: Load `jquery-1-7` before other modules 1854/head
authorScott González <scott.gonzalez@gmail.com>
Wed, 31 May 2017 18:09:05 +0000 (14:09 -0400)
committerScott González <scott.gonzalez@gmail.com>
Wed, 31 May 2017 18:09:05 +0000 (14:09 -0400)
tests/lib/bootstrap.js

index 7f1e12dd0be5c0a7ba7c7fbcb5c5909b806f78b7..487b3b807db96463cbf92e623930ed30b16b1cb3 100644 (file)
@@ -174,7 +174,7 @@ function migrateUrl() {
 
        // Load the jQuery fixes, if necessary
        if ( parseFloat( parseUrl().jquery ) < 3 ) {
-               modules.push( "ui/jquery-1-7" );
+               modules.unshift( "ui/jquery-1-7" );
        }
 
        requireTests( modules, noBackCompat );