mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2025-05-02 06:26:16 -04:00
adding js test to generate v2 example pastes to be used in the development of the server side logic, adding one of these into the helper class of the php tests
This commit is contained in:
parent
eeca365e18
commit
5652a43d1d
5 changed files with 82 additions and 5 deletions
|
@ -3736,6 +3736,17 @@ jQuery.PrivateBin = (function($, RawDeflate) {
|
|||
});
|
||||
};
|
||||
|
||||
/**
|
||||
* return currently set data, used in unit testing
|
||||
*
|
||||
* @name ServerInteraction.getData
|
||||
* @function
|
||||
*/
|
||||
me.getData = function()
|
||||
{
|
||||
return data;
|
||||
};
|
||||
|
||||
/**
|
||||
* set success function
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue