Fixed no-trailing-space lint

This commit is contained in:
n1474335 2018-01-02 14:46:35 +00:00
parent 10f42e9a7f
commit 50b24d9a56
6 changed files with 21 additions and 21 deletions

View File

@ -283,18 +283,18 @@ const Utils = {
/**
* Coverts data of varying types to a byteArray.
* Accepts hex, Base64, UTF8 and Latin1 strings.
*
*
* @param {string} str
* @param {string} type - One of "Hex", "Base64", "UTF8" or "Latin1"
* @returns {byteArray}
*
*
* @example
* // returns [208, 159, 209, 128, 208, 184, 208, 178, 208, 181, 209, 130]
* Utils.convertToByteArray("Привет", "utf8");
*
*
* // returns [208, 159, 209, 128, 208, 184, 208, 178, 208, 181, 209, 130]
* Utils.convertToByteArray("d097d0b4d180d0b0d0b2d181d182d0b2d183d0b9d182d0b5", "hex");
*
*
* // returns [208, 159, 209, 128, 208, 184, 208, 178, 208, 181, 209, 130]
* Utils.convertToByteArray("0JfQtNGA0LDQstGB0YLQstGD0LnRgtC1", "base64");
*/
@ -316,18 +316,18 @@ const Utils = {
/**
* Coverts data of varying types to a byte string.
* Accepts hex, Base64, UTF8 and Latin1 strings.
*
*
* @param {string} str
* @param {string} type - One of "Hex", "Base64", "UTF8" or "Latin1"
* @returns {string}
*
*
* @example
* // returns [208, 159, 209, 128, 208, 184, 208, 178, 208, 181, 209, 130]
* Utils.convertToByteArray("Привет", "utf8");
*
*
* // returns [208, 159, 209, 128, 208, 184, 208, 178, 208, 181, 209, 130]
* Utils.convertToByteArray("d097d0b4d180d0b0d0b2d181d182d0b2d183d0b9d182d0b5", "hex");
*
*
* // returns [208, 159, 209, 128, 208, 184, 208, 178, 208, 181, 209, 130]
* Utils.convertToByteArray("0JfQtNGA0LDQstGB0YLQstGD0LnRgtC1", "base64");
*/
@ -493,10 +493,10 @@ const Utils = {
/**
* Converts an ArrayBuffer to a string.
*
*
* @param {ArrayBuffer} arrayBuffer
* @returns {string}
*
*
* @example
* // returns "hello"
* Utils.arrayBufferToStr(Uint8Array.from([104,101,108,108,111]).buffer);

View File

@ -332,7 +332,7 @@ DES uses a key length of 8 bytes (64 bits).`;
/**
* Lookup table for Blowfish output types.
*
*
* @private
*/
_BLOWFISH_OUTPUT_TYPE_LOOKUP: {
@ -340,7 +340,7 @@ DES uses a key length of 8 bytes (64 bits).`;
},
/**
* Lookup table for Blowfish modes.
*
*
* @private
*/
_BLOWFISH_MODE_LOOKUP: {
@ -524,7 +524,7 @@ DES uses a key length of 8 bytes (64 bits).`;
/**
* Pseudo-Random Number Generator operation.
*
*
* @param {string} input
* @param {Object[]} args
* @returns {string}
@ -944,7 +944,7 @@ DES uses a key length of 8 bytes (64 bits).`;
/**
* A mapping of string formats to their classes in the CryptoJS library.
*
*
* @private
* @constant
*/

View File

@ -20,7 +20,7 @@ self.addEventListener("message", function(e) {
/**
* Loads a file object into an ArrayBuffer, then transfers it back to the parent thread.
*
*
* @param {File} file
*/
self.loadFile = function(file) {

View File

@ -154,7 +154,7 @@ OptionsWaiter.prototype.setWordWrap = function() {
/**
* Changes the theme by setting the class of the <html> element.
*
*
* @param {Event} e
*/
OptionsWaiter.prototype.themeChange = function (e) {
@ -166,7 +166,7 @@ OptionsWaiter.prototype.themeChange = function (e) {
/**
* Changes the console logging level.
*
*
* @param {Event} e
*/
OptionsWaiter.prototype.logLevelChange = function (e) {

View File

@ -170,7 +170,7 @@ OutputWaiter.prototype.displayFileSlice = function() {
/**
* Handler for show file overlay events.
*
*
* @param {Event} e
*/
OutputWaiter.prototype.showFileOverlayClick = function(e) {

View File

@ -79,13 +79,13 @@ TestRegister.addTests([
/**
* Ciphers
*
*
* The following expectedOutputs were generated using the following command format:
* > openssl enc -aes-128-cbc -in test.txt -out test.enc -K "00112233445566778899aabbccddeeff" -iv "00112233445566778899aabbccddeeff"
* > xxd -p test.enc | tr -d '\n' | xclip -selection clipboard
*
*
* All random data blocks (binary input, keys and IVs) were generated from /dev/urandom using dd:
* > dd if=/dev/urandom of=key.txt bs=16 count=1
* > dd if=/dev/urandom of=key.txt bs=16 count=1
*/
{
name: "AES Encrypt: no key",