adding tests for Prompt class, typos

This commit is contained in:
El RIDO 2017-11-20 08:49:25 +01:00
parent 984941f901
commit 360a0921e2
No known key found for this signature in database
GPG key ID: 0F5C940A6BD81F92
4 changed files with 42 additions and 4 deletions

View file

@ -1468,7 +1468,7 @@ jQuery.PrivateBin = function($, sjcl, Base64, RawDeflate) {
throw 'password prompt canceled';
}
if (password.length === 0) {
// recursive…
// recurse…
return me.requestPassword();
}
@ -1476,7 +1476,7 @@ jQuery.PrivateBin = function($, sjcl, Base64, RawDeflate) {
}
/**
* getthe cached password
* get the cached password
*
* If you do not get a password with this function
* (returns an empty string), use requestPassword.