diff options
author | Stefan Grönke <stefan@gronke.net> | 2013-01-19 16:30:42 +0100 |
---|---|---|
committer | Stefan Grönke <stefan@gronke.net> | 2013-01-19 16:30:42 +0100 |
commit | 9fd5ca2ec2955ee29404be1a39ddd9affcd0c78f (patch) | |
tree | d15cd6573521bcb416116d8872fbef95eb7789c9 /lib/scripts/jquery/update.sh | |
parent | e6c4a8221e93692572a1e78b9319a94b5ba07a0c (diff) | |
download | dokuwiki-9fd5ca2ec2955ee29404be1a39ddd9affcd0c78f.tar.gz dokuwiki-9fd5ca2ec2955ee29404be1a39ddd9affcd0c78f.zip |
jQuery latest
* jQuery 1.9.0
* jQuery-UI v1.9.2
* jQuery.fn.live > jQuery.fn.on
* jQuery.fn.browser replacement (jquery.mb.browser.js)
Diffstat (limited to 'lib/scripts/jquery/update.sh')
-rwxr-xr-x | lib/scripts/jquery/update.sh | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/lib/scripts/jquery/update.sh b/lib/scripts/jquery/update.sh deleted file mode 100755 index fde46f4d7..000000000 --- a/lib/scripts/jquery/update.sh +++ /dev/null @@ -1,28 +0,0 @@ -#!/bin/sh -# -# This script loads the latest jQuery and jQuery-UI 1.* versions from Google's CDN -# -# It also loads the 'smoothness' jQuery-UI theme and all referenced images. -# -# @author Andreas Gohr <andi@splitbrain.org> -# @link https://code.google.com/apis/libraries/devguide.html#jquery - -# load jQuery -wget -nv https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js -O jquery.min.js -wget -nv https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.js -O jquery.js - -# load jQuery-UI -wget -nv https://ajax.googleapis.com/ajax/libs/jqueryui/1/jquery-ui.min.js -O jquery-ui.min.js -wget -nv https://ajax.googleapis.com/ajax/libs/jqueryui/1/jquery-ui.js -O jquery-ui.js - -# load the smoothness theme -mkdir -p jquery-ui-theme/images -wget -nv https://ajax.googleapis.com/ajax/libs/jqueryui/1/themes/smoothness/jquery-ui.css -O 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 -done - -# remove font family declarations from smoothness CSS -sed -i "s/font-family:[^;]*; \?//" jquery-ui-theme/smoothness.css |