From 661bdc22727e15a89419eaa682d53f3fb21def48 Mon Sep 17 00:00:00 2001 From: Laurent Ghigonis Date: Sun, 16 Jun 2013 21:20:32 +0200 Subject: jsaccess: add comments and license --- jsaccess/encrypt.sh | 17 +++++++++++++++++ jsaccess/jsa/jsa.js | 18 +++++++++++++++++- 2 files changed, 34 insertions(+), 1 deletion(-) (limited to 'jsaccess') diff --git a/jsaccess/encrypt.sh b/jsaccess/encrypt.sh index 3102936..5663b9e 100755 --- a/jsaccess/encrypt.sh +++ b/jsaccess/encrypt.sh @@ -1,5 +1,22 @@ #!/bin/sh +# jsaccess - download and decrypt files in the browser +# encrypt.sh: file encrytion script + +# Copyright (c) 2013 Laurent Ghigonis +# +# Permission to use, copy, modify, and distribute this software for any +# purpose with or without fee is hereby granted, provided that the above +# copyright notice and this permission notice appear in all copies. +# +# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + cleanup() { rm -f $tmp umask $sumask diff --git a/jsaccess/jsa/jsa.js b/jsaccess/jsa/jsa.js index 98acdfe..625f2f9 100644 --- a/jsaccess/jsa/jsa.js +++ b/jsaccess/jsa/jsa.js @@ -1,5 +1,21 @@ /* jsaccess - download and decrypt files in the browser - * 2013, Laurent Ghigonis */ + * jsa.js: Main javascript file */ + +/* + * Copyright (c) 2013 Laurent Ghigonis + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ /* Reference code */ //console.log(JSON.stringify(xhr)); -- cgit v1.2.3-59-g8ed1b