mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-01 17:42:11 +09:00
Update jQuery to 3.7.1 and recommend updating
This commit is contained in:
parent
74b9533281
commit
f0f73c6ac8
6 changed files with 845 additions and 1121 deletions
|
|
@ -7,7 +7,7 @@ class HTMLDisplayHandler
|
|||
*/
|
||||
public const JQUERY_V2 = '2.2.4';
|
||||
public const JQUERY_V2_MIGRATE = '1.4.1';
|
||||
public const JQUERY_V3 = '3.6.3';
|
||||
public const JQUERY_V3 = '3.7.1';
|
||||
public const JQUERY_V3_MIGRATE = '3.4.0';
|
||||
|
||||
/**
|
||||
|
|
@ -746,7 +746,8 @@ class HTMLDisplayHandler
|
|||
*/
|
||||
private function _loadCommonJSCSS()
|
||||
{
|
||||
if (config('view.jquery_version') === 3)
|
||||
$jquery_version = config('view.jquery_version') ?: 2;
|
||||
if ($jquery_version == 3)
|
||||
{
|
||||
$jquery_version = self::JQUERY_V3;
|
||||
$jquery_migrate_version = self::JQUERY_V3_MIGRATE;
|
||||
|
|
|
|||
2
common/js/jquery-3.6.3.min.js
vendored
2
common/js/jquery-3.6.3.min.js
vendored
File diff suppressed because one or more lines are too long
1953
common/js/jquery-3.6.3.js → common/js/jquery-3.7.1.js
vendored
1953
common/js/jquery-3.6.3.js → common/js/jquery-3.7.1.js
vendored
File diff suppressed because it is too large
Load diff
2
common/js/jquery-3.7.1.min.js
vendored
Normal file
2
common/js/jquery-3.7.1.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
|
|
@ -159,7 +159,7 @@ $lang->cmd_concat_js_only = 'Combine all JS';
|
|||
$lang->cmd_concat_css_js = 'Combine both CSS and JS';
|
||||
$lang->about_concat_scripts = 'Automatically combine CSS and JS scripts into as few files as possible. External scripts are not combined.';
|
||||
$lang->jquery_version = 'jQuery Version';
|
||||
$lang->about_jquery_version = 'You can select the default jQuery version for this site. Please note that jQuery 3.x may not be compatible with older features.';
|
||||
$lang->about_jquery_version = 'You can select the default jQuery version for this site. Older third-party programs may require 2.x, but Rhymix recommends 3.x or higher for security.';
|
||||
$lang->use_gzip = 'gzip Compression';
|
||||
$lang->about_use_gzip = 'This option should be left off unless you know for sure that your webserver doesn\'t compress output by default.';
|
||||
$lang->delay_session = 'Delay session start';
|
||||
|
|
|
|||
|
|
@ -160,7 +160,7 @@ $lang->cmd_concat_js_only = 'JS만 합침';
|
|||
$lang->cmd_concat_css_js = 'CSS와 JS를 모두 합침';
|
||||
$lang->about_concat_scripts = 'CSS, JS 파일들을 하나로 합쳐서 전송합니다. 외부에서 로딩하는 스크립트는 합쳐지지 않습니다.';
|
||||
$lang->jquery_version = 'jQuery 버전';
|
||||
$lang->about_jquery_version = '기본으로 사용할 jQuery 버전을 선택합니다. jQuery 3.x는 오래된 기능과 호환되지 않을 수 있습니다.';
|
||||
$lang->about_jquery_version = '기본으로 사용할 jQuery 버전을 선택합니다. 오래된 확장 기능은 jQuery 2.x를 요구할 수 있으나, 보안상 3.x 이상을 추천합니다.';
|
||||
$lang->use_gzip = 'gzip 압축';
|
||||
$lang->about_use_gzip = '웹서버가 gzip을 지원하지 않더라도 페이지를 강제로 압축하는 기능입니다. 대부분의 서버에는 필요하지 않습니다.';
|
||||
$lang->delay_session = '세션 시작 지연';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue