mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2024-03-22 13:10:41 +08:00
removing unused function
This commit is contained in:
parent
57ebc7338d
commit
9d2e282772
|
@ -107,19 +107,6 @@ jQuery.PrivateBin = function($, sjcl, Base64, RawDeflate) {
|
|||
return [v, 'month'];
|
||||
}
|
||||
|
||||
/**
|
||||
* checks if a string is valid text (and not onyl whitespace)
|
||||
*
|
||||
* @name Helper.isValidText
|
||||
* @function
|
||||
* @param {string} string
|
||||
* @return {bool}
|
||||
*/
|
||||
me.isValidText = function(string)
|
||||
{
|
||||
return (string.length > 0 && $.trim(string) !== '')
|
||||
}
|
||||
|
||||
/**
|
||||
* text range selection
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue
Block a user