File tree 3 files changed +3
-8
lines changed
3 files changed +3
-8
lines changed Original file line number Diff line number Diff line change 12
12
// get jquery param from the query string.
13
13
var jQueryVersion = location . search . match ( / [ ? & ] j q u e r y = ( .* ?) (? = & | $ ) / )
14
14
15
- // If a version was specified, use that version from our vendor folder
15
+ // If a version was specified, use that version from jQuery CDN
16
16
if ( jQueryVersion ) {
17
- path = 'vendor /jquery-' + jQueryVersion [ 1 ] + '.min.js'
17
+ path = 'https://code.jquery.com /jquery-' + jQueryVersion [ 1 ] + '.min.js'
18
18
}
19
19
document . write ( '<script src="' + path + '"><\/script>' )
20
20
} ( ) )
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ const path = require('path')
4
4
const jsCoveragePath = path . resolve ( __dirname , '../coverage' )
5
5
6
6
module . exports = ( config ) => {
7
- const jqueryFile = process . env . USE_OLD_JQUERY ? 'js/tests/vendor /jquery-1.9.1.min.js' : 'assets/js/vendor/jquery-slim.min.js'
7
+ const jqueryFile = process . env . USE_OLD_JQUERY ? 'https://code.jquery.com /jquery-1.9.1.min.js' : 'assets/js/vendor/jquery-slim.min.js'
8
8
9
9
config . set ( {
10
10
basePath : '../..' ,
You can’t perform that action at this time.
0 commit comments