aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2017-05-10 09:02:53 -0400
committerScott González <scott.gonzalez@gmail.com>2017-05-10 09:02:53 -0400
commit39bbe70b54269903de5b4949cf91f1a625f24c3e (patch)
treeb606591075e048731a00c4bec6ba5c72e03d8002
parentefb1fee02b53c8fc17c3ffe68162f51b583e75f0 (diff)
downloadjquery-ui-39bbe70b54269903de5b4949cf91f1a625f24c3e.tar.gz
jquery-ui-39bbe70b54269903de5b4949cf91f1a625f24c3e.zip
Tests: Load the `jquery-1-7` module for all 1.x versions
-rw-r--r--tests/lib/bootstrap.js4
1 files changed, 2 insertions, 2 deletions
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" );
}