|
|
|
@ -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
|
|
|
|
|
*
|
|
|
|
|