mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2025-05-02 14:36:08 -04:00
added test for getCookie function, documenting its limitation of not finding cookies with empty identifier
This commit is contained in:
parent
b1396a249d
commit
eedb05111a
4 changed files with 30 additions and 3 deletions
|
@ -224,7 +224,7 @@ jQuery.PrivateBin = function($, sjcl, Base64, RawDeflate) {
|
|||
* @see {@link http://www.w3schools.com/js/js_cookies.asp}
|
||||
* @name helper.getCookie
|
||||
* @function
|
||||
* @param {string} cname
|
||||
* @param {string} cname - may not be empty
|
||||
* @return {string}
|
||||
*/
|
||||
getCookie: function(cname) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue