Re: variable scope issue in server js [pgadmin4] - Mailing list pgadmin-hackers

From Akshay Joshi
Subject Re: variable scope issue in server js [pgadmin4]
Date
Msg-id CANxoLDdZDCOavAmQXVoYpHwLopGhKfisbOaWn25+XWy6mY7Ndw@mail.gmail.com
Whole thread Raw
In response to variable scope issue in server js [pgadmin4]  (Harshal Dhumal <harshal.dhumal@enterprisedb.com>)
Responses Re: variable scope issue in server js [pgadmin4]  (Harshal Dhumal <harshal.dhumal@enterprisedb.com>)
List pgadmin-hackers
Hi 

On Thu, May 12, 2016 at 5:05 PM, Harshal Dhumal <harshal.dhumal@enterprisedb.com> wrote:
Hi,


PFA patch for server.js. Replaced ";" (semicolon) with ","  (coma) in variable declaration.

Issue: This was changing scope of all the variables declared after ";" (semicolon) from local to global and therefore affecting all other local variables with same name at different place in same file.

   Thanks- it is already being committed with the patch for "Named Restore Point" send by Murtuza




-- 
Harshal Dhumal
Software Engineer 





--
Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers




--
Akshay Joshi
Principal Software Engineer 


Phone: +91 20-3058-9517
Mobile: +91 976-788-8246

pgadmin-hackers by date:

Previous
From: Khushboo Vashi
Date:
Subject: Re: [PATCH] Tables node (pgAdmin4)
Next
From: Harshal Dhumal
Date:
Subject: Re: variable scope issue in server js [pgadmin4]