]> source.dussan.org Git - jquery-ui.git/commitdiff
Tests: Load ui/jquery-1-7.js when testing against jQuery 1.7.x
authorScott González <scott.gonzalez@gmail.com>
Mon, 31 Aug 2015 19:33:02 +0000 (15:33 -0400)
committerScott González <scott.gonzalez@gmail.com>
Mon, 31 Aug 2015 19:33:02 +0000 (15:33 -0400)
tests/lib/bootstrap.js

index 46e0e8ad291ba42076c695fcf58d964ee68e72d4..2fe2edd1bd081f03417f6edf4c782ad7feb4ae69 100644 (file)
@@ -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 );
 } )();