[Pkg-javascript-commits] [ltx] 05/25: followed coding standards

Jonas Smedegaard dr at jones.dk
Tue Jan 10 18:21:46 UTC 2017


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

js pushed a commit to branch master
in repository ltx.

commit 0c19706a6d688adf8ffb4271701d4273caa5d8e8
Author: Ajay Kumar Yadav <ajya at microsoft.com>
Date:   Thu Nov 3 19:32:15 2016 +0530

    followed coding standards
---
 lib/parsers/ltx.js | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib/parsers/ltx.js b/lib/parsers/ltx.js
index ac57f0e..fda9104 100644
--- a/lib/parsers/ltx.js
+++ b/lib/parsers/ltx.js
@@ -88,9 +88,9 @@ var SaxLtx = module.exports = function SaxLtx () {
           break
         case STATE_IGNORE_TAG:
           if (c === 62 /* > */) {
-            var prev_first = data.charCodeAt(pos-1);
-            var prev_second = data.charCodeAt(pos-2);
-            if( prev_first === 45 /* - */ && prev_second === 45 /* - */){
+            var prev_first = data.charCodeAt(pos-1)
+            var prev_second = data.charCodeAt(pos-2)
+            if( prev_first === 45 /* - */ && prev_second === 45 /* - */) {
                 state = STATE_TEXT
             }
           }

-- 
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