diff options
author | Michael Hamann <michael@content-space.de> | 2013-03-30 23:31:41 +0100 |
---|---|---|
committer | Michael Hamann <michael@content-space.de> | 2013-03-30 23:33:16 +0100 |
commit | bad7fb67d7e2a6939d7e6de1779100970d41b600 (patch) | |
tree | fdf8dfa13f3a63c4995a7f4353fc0a24c7db9d4b /lib/scripts/jquery | |
parent | 8f989436768f021725a023c5ae7efae150586d0c (diff) | |
download | rpg-bad7fb67d7e2a6939d7e6de1779100970d41b600.tar.gz rpg-bad7fb67d7e2a6939d7e6de1779100970d41b600.tar.bz2 |
Add missing jQuery-UI image and update update script
For just one image another syntax was used, this fixes the update script
to also fetch this image.
Diffstat (limited to 'lib/scripts/jquery')
-rw-r--r-- | lib/scripts/jquery/jquery-ui-theme/images/animated-overlay.gif | bin | 0 -> 1738 bytes | |||
-rwxr-xr-x | lib/scripts/jquery/update.sh | 2 |
2 files changed, 1 insertions, 1 deletions
diff --git a/lib/scripts/jquery/jquery-ui-theme/images/animated-overlay.gif b/lib/scripts/jquery/jquery-ui-theme/images/animated-overlay.gif Binary files differnew file mode 100644 index 000000000..d441f75eb --- /dev/null +++ b/lib/scripts/jquery/jquery-ui-theme/images/animated-overlay.gif diff --git a/lib/scripts/jquery/update.sh b/lib/scripts/jquery/update.sh index 3bc2c761e..749b0f4e2 100755 --- a/lib/scripts/jquery/update.sh +++ b/lib/scripts/jquery/update.sh @@ -19,7 +19,7 @@ wget -nv https://ajax.googleapis.com/ajax/libs/jqueryui/1/jquery-ui.js -O jq # load the smoothness theme mkdir -p jquery-ui-theme/images wget -nv -qO- https://ajax.googleapis.com/ajax/libs/jqueryui/1/themes/smoothness/jquery-ui.css | sed "s/font-family:[^;]*;//" > jquery-ui-theme/smoothness.css -images=`gawk 'match($0, /url\((images\/[^\)]+)\)/, m) { print m[1] }' jquery-ui-theme/smoothness.css` +images=`gawk 'match($0, /url\("?(images\/[^\)"]+)"?\)/, m) { print m[1] }' jquery-ui-theme/smoothness.css` for img in $images do wget -nv https://ajax.googleapis.com/ajax/libs/jqueryui/1/themes/smoothness/$img -O jquery-ui-theme/$img |