mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 18:51:41 +09:00
Add jQuery 3.x
This commit is contained in:
parent
bd904d7426
commit
dc1182f6f5
4 changed files with 11006 additions and 5 deletions
|
|
@ -6,13 +6,15 @@ class HTMLDisplayHandler
|
||||||
/**
|
/**
|
||||||
* jQuery versions
|
* jQuery versions
|
||||||
*/
|
*/
|
||||||
const JQUERY_V1 = '1.12.4';
|
public const JQUERY_V2 = '2.2.4';
|
||||||
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_MIGRATE = '3.4.0';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Default viewport setting
|
* Default viewport setting
|
||||||
*/
|
*/
|
||||||
const DEFAULT_VIEWPORT = 'width=device-width, initial-scale=1.0, user-scalable=yes';
|
public const DEFAULT_VIEWPORT = 'width=device-width, initial-scale=1.0, user-scalable=yes';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Reserved scripts
|
* Reserved scripts
|
||||||
|
|
@ -674,8 +676,11 @@ class HTMLDisplayHandler
|
||||||
private function _loadCommonJSCSS()
|
private function _loadCommonJSCSS()
|
||||||
{
|
{
|
||||||
Context::loadFile(array('./common/css/rhymix.scss', '', '', -1600000000), true);
|
Context::loadFile(array('./common/css/rhymix.scss', '', '', -1600000000), true);
|
||||||
|
|
||||||
|
$jquery_version = self::JQUERY_V2;
|
||||||
|
$jquery_migrate_version = self::JQUERY_V2_MIGRATE;
|
||||||
$original_file_list = array(
|
$original_file_list = array(
|
||||||
'plugins/jquery.migrate/jquery-migrate-1.4.1.min.js',
|
'plugins/jquery.migrate/jquery-migrate-' . $jquery_migrate_version . '.min.js',
|
||||||
'plugins/cookie/js.cookie.min.js',
|
'plugins/cookie/js.cookie.min.js',
|
||||||
'plugins/blankshield/blankshield.min.js',
|
'plugins/blankshield/blankshield.min.js',
|
||||||
'plugins/uri/URI.min.js',
|
'plugins/uri/URI.min.js',
|
||||||
|
|
@ -685,7 +690,6 @@ class HTMLDisplayHandler
|
||||||
'xml_handler.js',
|
'xml_handler.js',
|
||||||
'xml_js_filter.js',
|
'xml_js_filter.js',
|
||||||
);
|
);
|
||||||
$jquery_version = self::JQUERY_V2;
|
|
||||||
|
|
||||||
if(config('view.minify_scripts') === 'none')
|
if(config('view.minify_scripts') === 'none')
|
||||||
{
|
{
|
||||||
|
|
|
||||||
10993
common/js/jquery-3.6.3.js
vendored
Normal file
10993
common/js/jquery-3.6.3.js
vendored
Normal file
File diff suppressed because it is too large
Load diff
2
common/js/jquery-3.6.3.min.js
vendored
Normal file
2
common/js/jquery-3.6.3.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
2
common/js/plugins/jquery.migrate/jquery-migrate-3.4.0.min.js
vendored
Normal file
2
common/js/plugins/jquery.migrate/jquery-migrate-3.4.0.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue