From 8a23c2ff50bfec384883d8d90aae655d77b29690 Mon Sep 17 00:00:00 2001 From: Marcel Klehr Date: Tue, 20 Nov 2012 22:08:42 +0100 Subject: [PATCH] Use ; as comments indicator in i18n files --- src/static/js/l10n.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/static/js/l10n.js b/src/static/js/l10n.js index e2584cc4..1d232908 100644 --- a/src/static/js/l10n.js +++ b/src/static/js/l10n.js @@ -131,7 +131,7 @@ document.webL10n = (function(window, document, undefined) { // token expressions var reBlank = /^\s*|\s*$/; - var reComment = /^\s*#|^\s*$/; + var reComment = /^\s*;|^\s*$/;// Use ; for comments! var reSection = /^\s*\[(.*)\]\s*$/; var reImport = /^\s*@import\s+url\((.*)\)\s*$/i; var reSplit = /^([^=\s]*)\s*=\s*(.+)$/; // TODO: escape EOLs with '\'