mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 18:51:41 +09:00
Add minify config
This commit is contained in:
parent
45122899aa
commit
0ad289fbbf
5 changed files with 23 additions and 2270 deletions
16
Gruntfile.js
16
Gruntfile.js
|
|
@ -109,6 +109,14 @@ module.exports = function(grunt) {
|
||||||
'addons/oembed/oembed.min.js': ['addons/oembed/oembed.js'],
|
'addons/oembed/oembed.min.js': ['addons/oembed/oembed.js'],
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
'layout': {
|
||||||
|
files: {
|
||||||
|
'layouts/xedition/js/jquery.countTo.min.js': ['layouts/xedition/js/jquery.countTo.js'],
|
||||||
|
'layouts/xedition/js/jquery.easing.min.js': ['layouts/xedition/js/jquery.easing.js'],
|
||||||
|
'layouts/xedition/js/layout.min.js': ['layouts/xedition/js/layout.js'],
|
||||||
|
'layouts/xedition/js/welcome.min.js': ['layouts/xedition/js/welcome.js'],
|
||||||
|
}
|
||||||
|
},
|
||||||
},
|
},
|
||||||
cssmin: {
|
cssmin: {
|
||||||
'common': {
|
'common': {
|
||||||
|
|
@ -137,6 +145,14 @@ module.exports = function(grunt) {
|
||||||
'addons/oembed/jquery.oembed.min.css': ['addons/oembed/jquery.oembed.css'],
|
'addons/oembed/jquery.oembed.min.css': ['addons/oembed/jquery.oembed.css'],
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
'layout': {
|
||||||
|
files: {
|
||||||
|
'layouts/xedition/css/camera.min.css': ['layouts/xedition/css/camera.css'],
|
||||||
|
'layouts/xedition/css/layout.min.css': ['layouts/xedition/css/layout.css'],
|
||||||
|
'layouts/xedition/css/welcome.min.css': ['layouts/xedition/css/welcome.css'],
|
||||||
|
'layouts/xedition/css/widget.login.min.css': ['layouts/xedition/css/widget.login.css'],
|
||||||
|
}
|
||||||
|
},
|
||||||
},
|
},
|
||||||
jshint: {
|
jshint: {
|
||||||
files: [
|
files: [
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load diff
5
layouts/xedition/js/camera.min.js
vendored
Normal file
5
layouts/xedition/js/camera.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
|
|
@ -9,7 +9,7 @@
|
||||||
<load target="../../common/xeicon/xeicon.min.css" />
|
<load target="../../common/xeicon/xeicon.min.css" />
|
||||||
<!--// JS -->
|
<!--// JS -->
|
||||||
<block cond="(!$layout_info->layout_type || $layout_info->layout_type == 'default') && ($layout_info->use_demo != 'N' || $layout_info->use_slide != 'N')">
|
<block cond="(!$layout_info->layout_type || $layout_info->layout_type == 'default') && ($layout_info->use_demo != 'N' || $layout_info->use_slide != 'N')">
|
||||||
<load target="./js/camera.js" />
|
<load target="./js/camera.min.js" />
|
||||||
<script>
|
<script>
|
||||||
jQuery(function ($) {
|
jQuery(function ($) {
|
||||||
// main slide : camera show plugin 적용
|
// main slide : camera show plugin 적용
|
||||||
|
|
@ -25,7 +25,7 @@
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
</block>
|
</block>
|
||||||
<load target="./js/jquery.easing.1.3.js" />
|
<load target="./js/jquery.easing.js" />
|
||||||
<load target="./js/layout.js" />
|
<load target="./js/layout.js" />
|
||||||
<load cond="$layout_info->use_demo != 'N'" target="./js/welcome.js" />
|
<load cond="$layout_info->use_demo != 'N'" target="./js/welcome.js" />
|
||||||
<load target="./js/SmoothScroll.min.js" />
|
<load target="./js/SmoothScroll.min.js" />
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue