made leading comma style more consistent

This commit is contained in:
tigerbot 2017-07-11 15:07:16 -06:00
rodič 86b304a209
revize 43a61546d8
3 změnil soubory, kde provedl 11 přidání a 11 odebrání

Zobrazit soubor

@ -92,11 +92,11 @@
// First, create a PBKDF2 "key" containing the passphrase // First, create a PBKDF2 "key" containing the passphrase
return crypto.subtle.importKey( return crypto.subtle.importKey(
"raw", "raw"
Unibabel.utf8ToBuffer(nodeObj.secret), , Unibabel.utf8ToBuffer(nodeObj.secret)
{ "name": kdf.kdf }, , { "name": kdf.kdf }
false, , false
["deriveKey"]). , ["deriveKey"]).
// Derive a key from the password // Derive a key from the password
then(function (passphraseKey) { then(function (passphraseKey) {
var keyconf = { var keyconf = {

Zobrazit soubor

@ -26,11 +26,11 @@
// First, create a PBKDF2 "key" containing the password // First, create a PBKDF2 "key" containing the password
return crypto.subtle.importKey( return crypto.subtle.importKey(
"raw", "raw"
Unibabel.utf8ToBuffer(passphrase), , Unibabel.utf8ToBuffer(passphrase)
{ "name": kdfname }, , { "name": kdfname }
false, , false
["deriveKey"]). , ["deriveKey"]).
// Derive a key from the password // Derive a key from the password
then(function (passphraseKey) { then(function (passphraseKey) {
return crypto.subtle.deriveKey( return crypto.subtle.deriveKey(