summaryrefslogtreecommitdiff
path: root/lib/scripts/jquery/update.sh
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2014-03-05 19:51:33 +0100
committerAndreas Gohr <andi@splitbrain.org>2014-03-05 19:51:33 +0100
commitc173650d14a68c276101ba188fa4bf25175ccc7d (patch)
tree6543139fb826197ee1359f14d0d26a1a652f0919 /lib/scripts/jquery/update.sh
parent0e7a52f9ca3bd986d2ef663ef3030d5eba682273 (diff)
downloadrpg-c173650d14a68c276101ba188fa4bf25175ccc7d.tar.gz
rpg-c173650d14a68c276101ba188fa4bf25175ccc7d.tar.bz2
strip sourcemaps after update
Diffstat (limited to 'lib/scripts/jquery/update.sh')
-rwxr-xr-xlib/scripts/jquery/update.sh2
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