-
Notifications
You must be signed in to change notification settings - Fork 1
/
get-js-dependecies.sh
executable file
·28 lines (21 loc) · 1.24 KB
/
get-js-dependecies.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/bin/sh
# Author: Boris Pek <tehnick-8@yandex.ru>
# License: Public Domain
# Created: 2013-10-19
# Updated: 2020-01-22
# Version: N/A
# Dependencies: wget
set -e
[ -z "${MAIN_DIR}" ] && export MAIN_DIR="$(realpath -s $(dirname ${0}))"
cd "${MAIN_DIR}"
rm -rf js/lib
mkdir -p js/lib
cd js/lib
wget -nv -c https://code.jquery.com/jquery-3.4.1.js -O jquery.js
wget -nv -c https://raw.github.com/JangoSteve/jQuery-EasyTabs/v3.2.0/lib/jquery.easytabs.js -O jquery.easytabs.js
wget -nv -c https://raw.github.com/pandell/jquery-hashchange/v1.3c/jquery.ba-hashchange.js -O jquery.hashchange.js
wget -nv -c https://raw.github.com/datagraph/jquery-jsonrpc/0.1.1/jquery.jsonrpc.js -O jquery.jsonrpc.js
wget -nv -c https://raw.github.com/Cyntax/jquery-timer/0.1.1/jquery.plugin.js -O jquery.plugin.js
wget -nv -c https://raw.github.com/Cyntax/jquery-timer/0.1.1/jquery.timer.js -O jquery.timer.js
wget -nv -c https://raw.github.com/Mottie/tablesorter/v2.31.2/dist/js/jquery.tablesorter.js -O jquery.tablesorter.js
wget -nv -c http://requirejs.org/docs/release/2.3.6/comments/require.js -O require.js