?
Solved

How to find all global variables in mixed JavaScript - PHP project in NetBeans

Posted on 2012-09-07
3
Medium Priority
?
969 Views
Last Modified: 2012-09-15
Hello Experts.

I am running the code base quality test JavaScript mixed with PHP project and need
to know all the JS globals.

NetBeans already highlights them in green, so knows about them, but how to get their total list?

Thank you.
0
Comment
Question by:Bitlab
  • 2
3 Comments
 
LVL 2

Author Comment

by:Bitlab
ID: 38377238
PS. Possible answer is here, but how to differentiate own variables from Browser's Global variables:

http://stackoverflow.com/questions/6985224/intercepting-global-variable-definition-in-javascript
0
 
LVL 51

Accepted Solution

by:
ahoffmann earned 2000 total points
ID: 38379330
if you access the page with chrome browser, you can use chrome's developer tools which show you in which namespace the variable resides
0
 
LVL 2

Author Closing Comment

by:Bitlab
ID: 38402009
Thank you.
0

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Having worked on larger scale sites, we found out that you are bound to look at more scalable solutions to integrating widgets, code snippets or complete applications and mesh them into functional sites, in any given composition. To share some of…
A while back, I ran into a situation where I was trying to use the calculated columns feature in SharePoint 2013 to do some simple math using values in two lists. Between certain data types not being accessible, and also with trying to make a one to…
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
Suggested Courses

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question