remove jQuery Migrate as outlined in #1546
This commit is contained in:
parent
6086afb7c5
commit
dce218246b
|
@ -155,17 +155,12 @@ function getCdnUrls() {
|
|||
$src[] = DOKU_BASE . 'lib/exe/jquery.php' . '?tseed=' . $jqmod;
|
||||
} elseif($conf['jquerycdn'] == 'jquery') {
|
||||
$src[] = sprintf('https://code.jquery.com/jquery-%s.min.js', $versions['JQ_VERSION']);
|
||||
$src[] = sprintf('https://code.jquery.com/jquery-migrate-%s.min.js', $versions['JQM_VERSION']);
|
||||
$src[] = sprintf('https://code.jquery.com/ui/%s/jquery-ui.min.js', $versions['JQUI_VERSION']);
|
||||
} elseif($conf['jquerycdn'] == 'cdnjs') {
|
||||
$src[] = sprintf(
|
||||
'https://cdnjs.cloudflare.com/ajax/libs/jquery/%s/jquery.min.js',
|
||||
$versions['JQ_VERSION']
|
||||
);
|
||||
$src[] = sprintf(
|
||||
'https://cdnjs.cloudflare.com/ajax/libs/jquery-migrate/%s/jquery-migrate.min.js',
|
||||
$versions['JQM_VERSION']
|
||||
);
|
||||
$src[] = sprintf(
|
||||
'https://cdnjs.cloudflare.com/ajax/libs/jqueryui/%s/jquery-ui.min.js',
|
||||
$versions['JQUI_VERSION']
|
||||
|
|
|
@ -25,7 +25,6 @@ function jquery_out() {
|
|||
$files = array(
|
||||
DOKU_INC . 'lib/scripts/jquery/jquery.min.js',
|
||||
DOKU_INC . 'lib/scripts/jquery/jquery-ui.min.js',
|
||||
DOKU_INC . 'lib/scripts/jquery/jquery-migrate.min.js',
|
||||
);
|
||||
$cache_files = $files;
|
||||
$cache_files[] = __FILE__;
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -17,8 +17,6 @@ JQUI_GIT="https://raw.githubusercontent.com/jquery/jquery-ui/$JQUI_VERSION/ui"
|
|||
wget -nv https://code.jquery.com/jquery-${JQ_VERSION}.min.js -O jquery.min.js
|
||||
# load jQuery-UI
|
||||
wget -nv "$JQUI_HOST/jquery-ui.min.js" -O jquery-ui.min.js
|
||||
# load jQuery Migrate
|
||||
wget -nv https://code.jquery.com/jquery-migrate-${JQM_VERSION}.min.js -O jquery-migrate.min.js
|
||||
|
||||
# load the smoothness theme
|
||||
mkdir -p jquery-ui-theme/images
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
# this is loaded from the update.sh script and our PHP code
|
||||
JQ_VERSION=3.5.0
|
||||
JQUI_VERSION=1.12.1
|
||||
JQM_VERSION=3.2.0
|
||||
|
|
Loading…
Reference in New Issue