From 9d2e282772e609683aa1c5dbf9c47d3963082ce8 Mon Sep 17 00:00:00 2001 From: El RIDO Date: Sat, 25 Mar 2017 09:17:04 +0100 Subject: [PATCH] removing unused function --- js/privatebin.js | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/js/privatebin.js b/js/privatebin.js index c55a027..28e08e4 100644 --- a/js/privatebin.js +++ b/js/privatebin.js @@ -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 *