aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2015-08-31 15:33:02 -0400
committerScott González <scott.gonzalez@gmail.com>2015-08-31 15:33:02 -0400
commit9bb9a8bac0612e9e1dd9f9da509a3bc2749d8de6 (patch)
treea9a92cd0621d4a83ed98be08bd48aab1b3ecf630 /tests
parente5c3004c8e9613c290a997a75285171cae64cb90 (diff)
downloadjquery-ui-9bb9a8bac0612e9e1dd9f9da509a3bc2749d8de6.tar.gz
jquery-ui-9bb9a8bac0612e9e1dd9f9da509a3bc2749d8de6.zip
Tests: Load ui/jquery-1-7.js when testing against jQuery 1.7.x
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/bootstrap.js5
1 files changed, 5 insertions, 0 deletions
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 );
} )();