[Pkg-javascript-commits] [node-acorn-jsx] 261/484: Moved `inTemplate` initializer to appropriate place.

Bastien Roucariès rouca at moszumanska.debian.org
Sat Aug 19 14:20:41 UTC 2017


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

rouca pushed a commit to branch master
in repository node-acorn-jsx.

commit 278ac258df7e09b1758b3b4ce01d8cb28dd5445e
Author: Ingvar Stepanyan <me at rreverser.com>
Date:   Wed Jul 30 01:48:34 2014 +0300

    Moved `inTemplate` initializer to appropriate place.
---
 acorn.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/acorn.js b/acorn.js
index a57dc61..e506ad4 100644
--- a/acorn.js
+++ b/acorn.js
@@ -236,7 +236,7 @@
   // Template String. If it is, it should treat '$' as prefix before
   // '{expression}' and everything else as string literals.
 
-  var inTemplate = false;
+  var inTemplate;
 
   // This function is used to raise exceptions on parse errors. It
   // takes an offset integer (into the current `input`) to indicate

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



More information about the Pkg-javascript-commits mailing list