Skip to content

Commit c61d261

Browse files
author
bnu
committed
Merge branch 'release/1.7.9'
2 parents 102e564 + d6f3a78 commit c61d261

File tree

167 files changed

+2875
-607
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

167 files changed

+2875
-607
lines changed

Gruntfile.js

+15-5
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module.exports = function(grunt) {
22
"use strict";
33

44
var banner = '/*! Copyright (C) NAVER <http://www.navercorp.com> */\n';
5-
var banner_xe_js = banner + '/**!\n * @file common.js + js_app.js + xml_handler.js + xml_js_filter.js\n * @brief XE Common JavaScript\n **/\n';
5+
var banner_xe_js = banner + '/**!\n * @concat modernizr.js + common.js + js_app.js + xml_handler.js + xml_js_filter.js\n * @brief XE Common JavaScript\n **/\n';
66

77
grunt.file.defaultEncoding = 'utf8';
88

@@ -22,6 +22,7 @@ module.exports = function(grunt) {
2222
banner: banner_xe_js
2323
},
2424
src: [
25+
'common/js/modernizr.js',
2526
'common/js/common.js',
2627
'common/js/js_app.js',
2728
'common/js/xml_handler.js',
@@ -32,7 +33,7 @@ module.exports = function(grunt) {
3233
'xpresseditor': {
3334
options: {
3435
stripBanners: true,
35-
banner: banner_xe_js
36+
banner: '/**!\n * @concat Xpress_Editor.js + xe_interface.js \n **/\n'
3637
},
3738
src: [
3839
'modules/editor/skins/xpresseditor/js/Xpress_Editor.js',
@@ -44,7 +45,8 @@ module.exports = function(grunt) {
4445
uglify: {
4546
'common-js': {
4647
options: {
47-
banner: banner_xe_js
48+
banner: banner_xe_js,
49+
sourceMap: true
4850
},
4951
files: {
5052
'common/js/xe.min.js': ['common/js/xe.js']
@@ -60,6 +62,9 @@ module.exports = function(grunt) {
6062
}
6163
},
6264
'modules': {
65+
options: {
66+
sourceMap: true
67+
},
6368
files: {
6469
'common/js/x.min.js' : ['common/js/x.js'],
6570
// addon
@@ -154,7 +159,12 @@ module.exports = function(grunt) {
154159
jshint: {
155160
files: [
156161
'Gruntfile.js',
157-
'common/js/*.js', '!common/js/html5.js', '!common/js/jquery.js', '!common/js/x.js', '!common/js/xe.js',
162+
'common/js/*.js',
163+
'!common/js/html5.js',
164+
'!common/js/jquery.js',
165+
'!common/js/x.js',
166+
'!common/js/xe.js',
167+
'!common/js/modernizr.js',
158168
'modules/admin/tpl/js/*.js',
159169
'modules/board/tpl/js/*.js',
160170
'modules/editor/tpl/js/*.js',
@@ -314,7 +324,7 @@ module.exports = function(grunt) {
314324
// changed
315325
grunt.util.spawn({
316326
cmd: "git",
317-
args: ['diff', '--name-only', target]
327+
args: ['diff', '--name-only', '--diff-filter' ,'ACM', target]
318328
}, function (error, result, code) {
319329
diff = result.stdout;
320330

addons/captcha/captcha.min.js

+2-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)