summaryrefslogtreecommitdiff
path: root/scripts/lib/util.js
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/lib/util.js')
-rw-r--r--scripts/lib/util.js16
1 files changed, 0 insertions, 16 deletions
diff --git a/scripts/lib/util.js b/scripts/lib/util.js
index 991bf067..e99d7a35 100644
--- a/scripts/lib/util.js
+++ b/scripts/lib/util.js
@@ -1,22 +1,6 @@
(function () {
Object.defineProperties(util,
{
- "getBody" :
- {
- value : function(f)
- {
- if (f && f instanceof Function)
- {
- var m = f.toString().match(/\{([\s\S]*)\}/m)[1];
- m = m.replace(/^[ \t\r\v\f]*/, '');
- if (m[0] == "\n")
- return m.substring(1);
- else
- return m;
- }
- return null;
- }
- },
"getSelection" :
{
value : function()