[Pkg-javascript-commits] [ltx] 211/469: element: minor syntax cleaning

Jonas Smedegaard dr at jones.dk
Wed Aug 31 13:03:04 UTC 2016


This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository ltx.

commit 25b3aa4df4f3ccf86f9ca9249357c09306641ac4
Author: Astro <astro at spaceboyz.net>
Date:   Mon Mar 19 18:10:43 2012 +0100

    element: minor syntax cleaning
---
 lib/element.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/element.js b/lib/element.js
index 010e358..12b2367 100644
--- a/lib/element.js
+++ b/lib/element.js
@@ -280,14 +280,14 @@ function escapeXml(s) {
         replace(/>/g, '>').
         replace(/"/g, '"').
         replace(/'/g, ''');
-};
+}
 
 function escapeXmlText(s) {
     return s.
         replace(/\&/g, '&').
         replace(/</g, '<').
         replace(/>/g, '>');
-};
+}
 
 exports.Element = Element;
 exports.escapeXml = escapeXml;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/ltx.git



More information about the Pkg-javascript-commits mailing list