Improve js and add native language support for datepicker and calendar

This commit is contained in:
Frederic Guillot
2015-02-08 15:07:47 -05:00
parent 813b7c4c00
commit acf3941b4a
77 changed files with 182 additions and 678 deletions

View File

@@ -3,8 +3,9 @@
app_css="base links title table form button alert tooltip header board task comment subtask markdown listing activity dashboard pagination popover confirm sidebar responsive dropdown"
vendor_css="jquery-ui-1.10.4.custom chosen.min fullcalendar.min font-awesome.min"
app_js="base board calendar task analytic swimlane dashboard init"
app_js="base board calendar analytic swimlane dashboard"
vendor_js="jquery-1.11.1.min jquery-ui-1.10.4.custom.min jquery.ui.touch-punch.min chosen.jquery.min dropit.min moment.min fullcalendar.min mousetrap.min app.min"
lang_js="da de es fi fr hu it ja pl pt-br ru sv th zh-cn"
function merge_css {
@@ -44,6 +45,7 @@ function merge_js {
rm -f $dst_file 2>/dev/null
for file in $vendor_js; do cat "assets/js/vendor/${file}.js" >> $dst_file; done
for file in $lang_js; do cat "assets/js/vendor/lang/${file}.js" >> $dst_file; done
rm -f $tmp_file 2>/dev/null
}