Skip to content

Commit 9bb9a8b

Browse files
committed
Tests: Load ui/jquery-1-7.js when testing against jQuery 1.7.x
1 parent e5c3004 commit 9bb9a8b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/lib/bootstrap.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,11 @@ function jqueryUrl() {
140140
}
141141
}
142142

143+
// Load the jQuery 1.7 fixes, if necessary
144+
if ( parseFloat( parseUrl().jquery ) === 1.7 ) {
145+
modules.push( "ui/jquery-1-7" );
146+
}
147+
143148
requireTests( modules, noBackCompat );
144149
} )();
145150

0 commit comments

Comments
 (0)