projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78a4fb3
)
Move this to Horde.
author
Jan Schneider
<jan@horde.org>
Wed, 23 Dec 2009 14:15:06 +0000
(15:15 +0100)
committer
Jan Schneider
<jan@horde.org>
Wed, 23 Dec 2009 14:15:06 +0000
(15:15 +0100)
imp/js/DimpCore.js
patch
|
blob
|
history
diff --git
a/imp/js/DimpCore.js
b/imp/js/DimpCore.js
index
4a180a4
..
a463f1e
100644
(file)
--- 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;
- }
-});