diff options
-rw-r--r-- | HISTORY.md | 3 | ||||
-rw-r--r-- | bower.json | 2 | ||||
-rw-r--r-- | component.json | 4 | ||||
-rw-r--r-- | index.html | 56 | ||||
-rw-r--r-- | package.json | 6 | ||||
-rw-r--r-- | xor-crypt.js | 5 | ||||
-rw-r--r-- | xor-crypt.min.js | 2 |
7 files changed, 64 insertions, 14 deletions
@@ -1,5 +1,8 @@ # History +## v1.1.0 +- Update developer dependencies + ## v1.0.0 - Cleaned documentation @@ -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", @@ -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 */ |