-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* updated atmos-js to 2.1.2 and removed check for Atmos browser-compat feature (ECS supports this but does not advertise the feature) * Removes external Jquery dependency from the JSBrowser. This is allowed due to Jquery's MIT license.
- Loading branch information
1 parent
9da89da
commit 0455c3f
Showing
9 changed files
with
51 additions
and
122 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,42 @@ | ||
#!/bin/sh | ||
if [ -z "$2" ] | ||
then | ||
echo usage: "$0 <local_html_file> /remote_path" | ||
echo usage: "$0 <local_html_file> <remote_path>" | ||
echo typical remote path is /browser | ||
exit 1 | ||
fi | ||
|
||
# set these to avoid typing | ||
export HOST= | ||
export PORT= | ||
export xUID= | ||
export SECRET= | ||
|
||
# set jar location here | ||
UPLOAD_JAR=./JSUpload.jar | ||
|
||
echo "Atmos hostname: \c" | ||
read HOST | ||
if [ -z "$HOST" ]; then | ||
echo "Atmos hostname: \c" | ||
read HOST | ||
fi | ||
|
||
echo "Atmos port [80]: \c" | ||
read PORT | ||
if [ -z "$PORT" ] | ||
then | ||
PORT=80 | ||
if [ -z "$PORT" ]; then | ||
echo "Atmos port [80]: \c" | ||
read PORT | ||
if [ -z "$PORT" ] | ||
then | ||
PORT=80 | ||
fi | ||
fi | ||
|
||
echo "Atmos UID: \c" | ||
read xUID | ||
if [ -z "xUID" ]; then | ||
echo "Atmos UID: \c" | ||
read xUID | ||
fi | ||
|
||
echo "Atmos secret: \c" | ||
read SECRET | ||
if [ -z "SECRET" ]; then | ||
echo "Atmos secret: \c" | ||
read SECRET | ||
fi | ||
|
||
java -jar $UPLOAD_JAR -h $HOST -p $PORT -u $xUID -s $SECRET -f $1 -r $2 |