diff options
author | Andreas Gohr <andi@splitbrain.org> | 2014-03-05 19:51:33 +0100 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2014-03-05 19:51:33 +0100 |
commit | c173650d14a68c276101ba188fa4bf25175ccc7d (patch) | |
tree | 6543139fb826197ee1359f14d0d26a1a652f0919 /lib/scripts/jquery/update.sh | |
parent | 0e7a52f9ca3bd986d2ef663ef3030d5eba682273 (diff) | |
download | rpg-c173650d14a68c276101ba188fa4bf25175ccc7d.tar.gz rpg-c173650d14a68c276101ba188fa4bf25175ccc7d.tar.bz2 |
strip sourcemaps after update
Diffstat (limited to 'lib/scripts/jquery/update.sh')
-rwxr-xr-x | lib/scripts/jquery/update.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/scripts/jquery/update.sh b/lib/scripts/jquery/update.sh index f299c7ecc..719a0829d 100755 --- a/lib/scripts/jquery/update.sh +++ b/lib/scripts/jquery/update.sh @@ -42,3 +42,5 @@ wget -nv https://ajax.googleapis.com/ajax/libs/jqueryui/1/i18n/jquery.ui.datepic wget -nv https://ajax.googleapis.com/ajax/libs/jqueryui/1/i18n/jquery.ui.datepicker-zh-CN.js -O ../../../inc/lang/zh/jquery.ui.datepicker.js wget -nv https://ajax.googleapis.com/ajax/libs/jqueryui/1/i18n/jquery.ui.datepicker-zh-TW.js -O ../../../inc/lang/zh-tw/jquery.ui.datepicker.js +# strip source maps +sed -i '/sourceMappingURL/d' *.min.js |