From: Jan Schneider Date: Wed, 23 Dec 2009 14:15:06 +0000 (+0100) Subject: Move this to Horde. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=14a05fed1e66e92086ca3042cb7bf1b97bef288c;p=horde.git Move this to Horde. --- diff --git a/imp/js/DimpCore.js b/imp/js/DimpCore.js index 4a180a473..a463f1ec0 100644 --- a/imp/js/DimpCore.js +++ b/imp/js/DimpCore.js @@ -527,16 +527,3 @@ var DimpCore = { } }; - -/* More efficient String.unfilterJSON() function. */ -Object.extend(String.prototype, { - unfilterJSON: function(filter) { - if (filter) { - return this.replace(filter, '$1'); - } else if (this.startsWith('/*-secure-') && - this.endsWith('*/')) { - return this.slice(10, -2); - } - return this; - } -});