gruntfile: fix copy datepicker_ui
This commit is contained in:
parent
1ccbfc1a11
commit
3b4be4f32d
16
Gruntfile.js
16
Gruntfile.js
@ -136,6 +136,7 @@ module.exports = function(grunt) {
|
|||||||
//grunt.loadNpmTasks('grunt-contrib-requirejs');
|
//grunt.loadNpmTasks('grunt-contrib-requirejs');
|
||||||
|
|
||||||
//version of jquery-ui datepicker to be copied into dist
|
//version of jquery-ui datepicker to be copied into dist
|
||||||
|
//note: if change here => don't forget to change in gh-pages demo-plain.hbs !!!
|
||||||
var dp_ui_ver = '1.10.3';
|
var dp_ui_ver = '1.10.3';
|
||||||
|
|
||||||
//module for testing
|
//module for testing
|
||||||
@ -280,12 +281,15 @@ module.exports = function(grunt) {
|
|||||||
dest:'<%= dist %>/inputs-ext/'
|
dest:'<%= dist %>/inputs-ext/'
|
||||||
},
|
},
|
||||||
ui_datepicker: {
|
ui_datepicker: {
|
||||||
files: {
|
//copy jquery ui datepicker to jquery-editable build
|
||||||
//copy jquery ui datepicker
|
expand: true,
|
||||||
'<%= dist %>/jquery-editable/jquery-ui-datepicker/js/': 'src/inputs/dateui/jquery-ui-datepicker/js/jquery-ui-'+dp_ui_ver+'.*.js',
|
cwd: 'src/inputs/dateui/jquery-ui-datepicker',
|
||||||
'<%= dist %>/jquery-editable/jquery-ui-datepicker/css/redmond/': 'src/inputs/dateui/jquery-ui-datepicker/css/redmond/jquery-ui-'+dp_ui_ver+'.*.css',
|
src: [
|
||||||
'<%= dist %>/jquery-editable/jquery-ui-datepicker/css/redmond/images/': 'src/inputs/dateui/jquery-ui-datepicker/css/redmond/images/**'
|
'js/jquery-ui-'+dp_ui_ver+'.*.js',
|
||||||
}
|
'css/redmond/jquery-ui-'+dp_ui_ver+'.*.css',
|
||||||
|
'css/redmond/images/**'
|
||||||
|
],
|
||||||
|
dest:'<%= dist %>/jquery-editable/jquery-ui-datepicker/'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user