summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRob Loach <robloach@gmail.com>2016-07-19 16:44:31 -0400
committerRob Loach <robloach@gmail.com>2016-07-19 16:44:31 -0400
commit71f0113d85957f549cefc1549748abf678d585e4 (patch)
tree561c2384082549f89014d69223b36a844b96d281
parent7495467156b9d3da408035b06edb8cfc58b1fc31 (diff)
downloadxor-crypt-origin/gh-pages.zip
xor-crypt-origin/gh-pages.tar.gz
xor-crypt-origin/gh-pages.tar.bz2
-rw-r--r--HISTORY.md3
-rw-r--r--bower.json2
-rw-r--r--component.json4
-rw-r--r--index.html56
-rw-r--r--package.json6
-rw-r--r--xor-crypt.js5
-rw-r--r--xor-crypt.min.js2
7 files changed, 64 insertions, 14 deletions
diff --git a/HISTORY.md b/HISTORY.md
index 3d52c96..7e02e32 100644
--- a/HISTORY.md
+++ b/HISTORY.md
@@ -1,5 +1,8 @@
# History
+## v1.1.0
+- Update developer dependencies
+
## v1.0.0
- Cleaned documentation
diff --git a/bower.json b/bower.json
index d5fa228..b8980e3 100644
--- a/bower.json
+++ b/bower.json
@@ -2,7 +2,7 @@
"name": "xor-crypt",
"homepage": "http://github.com/robloach/xor-crypt",
"description": "XOR Crypt",
- "version": "1.0.0",
+ "version": "1.1.0",
"main": "xor-crypt.js",
"ignore": [
"*.json",
diff --git a/component.json b/component.json
index 546edd4..6e515c5 100644
--- a/component.json
+++ b/component.json
@@ -4,8 +4,8 @@
"homepage": "http://github.com/robloach/xor-crypt",
"description": "Simple XOR string encryption library.",
"license": "MIT",
- "version": "1.0.0",
- "keywords": [
+ "version": "1.1.0",
+ "keywords ": [
"encryption"
],
"main": "xor-crypt.js",
diff --git a/index.html b/index.html
index 9295375..08f6ccf 100644
--- a/index.html
+++ b/index.html
@@ -6,7 +6,51 @@
<style>
body {
text-align: center;
- background-color: #ADCCF7;
+ background-color: #c3ddff;
+ font-family: sans-serif;
+ }
+ #crypt {
+ -moz-box-shadow: 0px 10px 14px -7px #3e7327;
+ -webkit-box-shadow: 0px 10px 14px -7px #3e7327;
+ box-shadow: 0px 10px 14px -7px #3e7327;
+ background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #77b55a), color-stop(1, #72b352));
+ background:-moz-linear-gradient(top, #77b55a 5%, #72b352 100%);
+ background:-webkit-linear-gradient(top, #77b55a 5%, #72b352 100%);
+ background:-o-linear-gradient(top, #77b55a 5%, #72b352 100%);
+ background:-ms-linear-gradient(top, #77b55a 5%, #72b352 100%);
+ background:linear-gradient(to bottom, #77b55a 5%, #72b352 100%);
+ filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#77b55a', endColorstr='#72b352',GradientType=0);
+ background-color:#77b55a;
+ -moz-border-radius:4px;
+ -webkit-border-radius:4px;
+ border-radius:4px;
+ border:1px solid #4b8f29;
+ display:inline-block;
+ cursor:pointer;
+ color:#ffffff;
+ font-family:Arial;
+ font-size:1.5em;
+ font-weight:bold;
+ padding:1em 2em;
+ text-decoration:none;
+ text-shadow:0px 1px 0px #5b8a3c;
+ }
+ #crypt:hover {
+ background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #72b352), color-stop(1, #77b55a));
+ background:-moz-linear-gradient(top, #72b352 5%, #77b55a 100%);
+ background:-webkit-linear-gradient(top, #72b352 5%, #77b55a 100%);
+ background:-o-linear-gradient(top, #72b352 5%, #77b55a 100%);
+ background:-ms-linear-gradient(top, #72b352 5%, #77b55a 100%);
+ background:linear-gradient(to bottom, #72b352 5%, #77b55a 100%);
+ filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#72b352', endColorstr='#77b55a',GradientType=0);
+ background-color:#72b352;
+ }
+ #crypt:active {
+ position:relative;
+ top:1px;
+ }
+ textarea {
+ font-size: 1.5em;
}
</style>
</head>
@@ -16,9 +60,13 @@
<a href="http://github.com/robloach/xor-crypt">XOR-Crypt</a> is a simple XOR string encryption library.
</p>
- <textarea id="content" rows="6" cols="40">Enter text here, click "XOR-Crypt", and see it encrypt. Click again, and see it translate back.</textarea>
- <br>
- <button type="button" id="crypt">XOR-Crypt</button>
+ <p>
+ <textarea id="content" rows="10" cols="60">Enter text here, click "XOR-Crypt", and see it encrypt. Click again, and see it translate back.</textarea>
+ </p>
+
+ <p>
+ <button type="button" id="crypt">XOR-Crypt</button>
+ </p>
<script type="text/javascript" src="xor-crypt.js"></script>
<script>
diff --git a/package.json b/package.json
index 4d809e5..b2444d7 100644
--- a/package.json
+++ b/package.json
@@ -2,7 +2,7 @@
"name": "xor-crypt",
"title": "XOR Crypt",
"description": "Simple XOR string encryption library.",
- "version": "1.0.0",
+ "version": "1.1.0",
"keywords": [
"encryption"
],
@@ -31,9 +31,9 @@
},
"dependencies": {},
"devDependencies": {
- "standard": "^4.2.1",
+ "standard": "^7.1.2",
"testit": "^2.0.2",
- "uglify-js": "~2.4.16"
+ "uglify-js": "~2.7.0"
},
"scripts": {
"posttest": "standard",
diff --git a/xor-crypt.js b/xor-crypt.js
index b645fa7..d20f809 100644
--- a/xor-crypt.js
+++ b/xor-crypt.js
@@ -1,5 +1,5 @@
/*!
- * XOR Crypt v1.0.0 - http://github.com/RobLoach/xor-crypt
+ * XOR Crypt v1.1.0 - http://github.com/RobLoach/xor-crypt
* @license MIT
* http://opensource.org/licenses/MIT
*/
@@ -7,7 +7,7 @@
/**
* Universal Module Definition
*
- * @see {@link http://github.com/umdjs/umd}
+ * @see http://github.com/umdjs/umd
*/
(function (root, factory) {
'use strict'
@@ -44,5 +44,4 @@
return output
}
-
}))
diff --git a/xor-crypt.min.js b/xor-crypt.min.js
index b16d0cf..12860c4 100644
--- a/xor-crypt.min.js
+++ b/xor-crypt.min.js
@@ -1,5 +1,5 @@
/*!
- * XOR Crypt v1.0.0 - http://github.com/RobLoach/xor-crypt
+ * XOR Crypt v1.1.0 - http://github.com/RobLoach/xor-crypt
* @license MIT
* http://opensource.org/licenses/MIT
*/