summaryrefslogtreecommitdiff
path: root/src/static/js/ace.js
diff options
context:
space:
mode:
authorJohn McLear <john@mclear.co.uk>2012-05-13 06:51:58 -0700
committerJohn McLear <john@mclear.co.uk>2012-05-13 06:51:58 -0700
commitc70d88eedc06498319459d957f372d699599ccf1 (patch)
tree7390ee2b0556c6bcee6b2a7094e0569db5ae4a0d /src/static/js/ace.js
parent99ecadc0c3d4c9570fec5a25215c8a568d795fda (diff)
parent18d0c8118103b8fb50203c5f40d7aa97e249d9d6 (diff)
downloadetherpad-lite-c70d88eedc06498319459d957f372d699599ccf1.zip
Merge pull request #667 from fourplusone/feature/cleaner_code
Removing unused code - All looks good, some minor tweeks are probably worthwhile in the future.
Diffstat (limited to 'src/static/js/ace.js')
-rw-r--r--src/static/js/ace.js8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/static/js/ace.js b/src/static/js/ace.js
index 85801d33..0003eedf 100644
--- a/src/static/js/ace.js
+++ b/src/static/js/ace.js
@@ -245,14 +245,6 @@ require.setGlobalKeyPath("require");\n\
iframeHTML: iframeHTML
});
- // For compatability's sake transform in and out.
- for (var i = 0, ii = iframeHTML.length; i < ii; i++) {
- iframeHTML[i] = JSON.stringify(iframeHTML[i]);
- }
- for (var i = 0, ii = iframeHTML.length; i < ii; i++) {
- iframeHTML[i] = JSON.parse(iframeHTML[i]);
- }
-
// calls to these functions ($$INCLUDE_...) are replaced when this file is processed
// and compressed, putting the compressed code from the named file directly into the
// source here.