fix grunt to copy only one ui datepicker lib version
This commit is contained in:
9
grunt.js
9
grunt.js
@@ -106,8 +106,11 @@ function getFiles() {
|
||||
/*global module:false*/
|
||||
module.exports = function(grunt) {
|
||||
|
||||
grunt.loadNpmTasks('grunt-contrib');
|
||||
grunt.loadNpmTasks('grunt-contrib');
|
||||
|
||||
//version of jquery-ui datepicker to be copied into dist
|
||||
var dp_ui_ver = '1.10.2';
|
||||
|
||||
//module for testing
|
||||
var module = '';
|
||||
// module = '&module=textarea';
|
||||
@@ -230,7 +233,9 @@ module.exports = function(grunt) {
|
||||
ui_datepicker: {
|
||||
files: {
|
||||
//copy jquery ui datepicker
|
||||
'<%= dist %>/jquery-editable/jquery-ui-datepicker/' : 'src/inputs/dateui/jquery-ui-datepicker/**'
|
||||
'<%= dist %>/jquery-editable/jquery-ui-datepicker/js/': 'src/inputs/dateui/jquery-ui-datepicker/js/jquery-ui-'+dp_ui_ver+'.*.js',
|
||||
'<%= dist %>/jquery-editable/jquery-ui-datepicker/css/redmond/': 'src/inputs/dateui/jquery-ui-datepicker/css/redmond/jquery-ui-'+dp_ui_ver+'.*.css',
|
||||
'<%= dist %>/jquery-editable/jquery-ui-datepicker/css/redmond/images/': 'src/inputs/dateui/jquery-ui-datepicker/css/redmond/images/**'
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user