From 14a05fed1e66e92086ca3042cb7bf1b97bef288c Mon Sep 17 00:00:00 2001 From: Jan Schneider Date: Wed, 23 Dec 2009 15:15:06 +0100 Subject: [PATCH] Move this to Horde. --- imp/js/DimpCore.js | 13 ------------- 1 file changed, 13 deletions(-) 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; - } -}); -- 2.11.0