mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2025-07-22 14:30:41 -04:00
adding tests for UiHelper.reloadHome, making UiHelper unit testable and handling JSVerify RNG states 846932d5afb10ce748 & 012c1f9483adb6e750
This commit is contained in:
parent
cbcc26ec37
commit
4410ddcd84
4 changed files with 48 additions and 8 deletions
|
@ -845,11 +845,9 @@ jQuery.PrivateBin = function($, sjcl, Base64, RawDeflate) {
|
|||
* everything directly UI-related, which fits nowhere else
|
||||
*
|
||||
* @name UiHelper
|
||||
* @param {object} window
|
||||
* @param {object} document
|
||||
* @class
|
||||
*/
|
||||
var UiHelper = (function (window, document) {
|
||||
var UiHelper = (function () {
|
||||
var me = {};
|
||||
|
||||
/**
|
||||
|
@ -990,7 +988,7 @@ jQuery.PrivateBin = function($, sjcl, Base64, RawDeflate) {
|
|||
}
|
||||
|
||||
return me;
|
||||
})(window, document);
|
||||
})();
|
||||
|
||||
/**
|
||||
* Alert/error manager
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue