]> code.citadel.org Git - citadel.git/blobdiff - webcit-ng/static/js/util.js
Show mailboxes in a list, ordered by floor+rorder
[citadel.git] / webcit-ng / static / js / util.js
index 9e54e0f2d3ea3725c99259262d2e5777aa8da2c0..6ea6d71d53bbe0b916ef1cdd2a5567bb7568a730 100644 (file)
@@ -56,7 +56,7 @@ function escapeHTML(text) {
 }
 
 
-// string escape for html display
+// string escape for html display FIXME can this be replaced with encodeURI() from the standard library?
 function escapeHTMLURI(text) {
        'use strict';
        return text.replace(/./g, function (a) {
@@ -66,7 +66,6 @@ function escapeHTMLURI(text) {
 
 
 // string escape for JavaScript string
-//
 function escapeJS(text) {
        'use strict';
        return text.replace(/[\"\']/g, function (a) {