fix grunt to copy only one ui datepicker lib version
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/**'
|
||||
}
|
||||
}
|
||||
},
|
||||
|
Before ![]() (image error) Size: 1.7 KiB |
BIN
test/libs/jquery-ui-1.10.2.custom/css/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png
Before ![]() (image error) Size: 418 B |
BIN
test/libs/jquery-ui-1.10.2.custom/css/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png
Before ![]() (image error) Size: 312 B |
Before ![]() (image error) Size: 205 B |
Before ![]() (image error) Size: 262 B |
Before ![]() (image error) Size: 348 B |
Before ![]() (image error) Size: 207 B |
BIN
test/libs/jquery-ui-1.10.2.custom/css/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png
Before ![]() (image error) Size: 5.7 KiB |
BIN
test/libs/jquery-ui-1.10.2.custom/css/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png
Before ![]() (image error) Size: 278 B |
BIN
test/libs/jquery-ui-1.10.2.custom/css/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png
Before ![]() (image error) Size: 328 B |
Before ![]() (image error) Size: 6.8 KiB |
Before ![]() (image error) Size: 4.4 KiB |
Before ![]() (image error) Size: 4.4 KiB |
Before ![]() (image error) Size: 4.4 KiB |
Before ![]() (image error) Size: 6.2 KiB |
@ -137,6 +137,7 @@ define(function () {
|
||||
'inputs/abstract'],
|
||||
init: function(require) {
|
||||
loadCss(require.toUrl("./lib/select2.css"));
|
||||
//loadCss(require.toUrl("./lib/select2-bootstrap.css"));
|
||||
}
|
||||
},
|
||||
|
||||
|