blob: 8d7ee92e4da1157ee8021bc16cbbd4a503421f1b [file] [log] [blame]
#!/usr/bin/env bash
# Copyright 2015 The Vanadium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
set -euo pipefail
readonly DIR=${1}
mkdir -p ${DIR}
get() {
local -r NAME=${1}
local -r URL=${2}
curl -L -o ${DIR}/${NAME} ${URL}
}
get react-0.14.3.min.js https://fb.me/react-0.14.3.min.js
get react-dom-0.14.3.min.js https://fb.me/react-dom-0.14.3.min.js
get react-0.14.3.js https://fb.me/react-0.14.3.js
get react-dom-0.14.3.js https://fb.me/react-dom-0.14.3.js