PHP 2010 JavaScript code checker.

Post your questions and problem reports here

Moderator: kfury77

Forum rules
Please try to follow these guidelines. This will help to receive faster and more accurate response.
  • Check the Support section of the corresponding product first. Chances are you will find your answer there;
  • Do not create new topics for already reported problems. Add your comments to the existing topics instead;
  • Create separate topic for each problem request. Do NOT post a number of non-related problem reports in a single topic;
  • Give your topic a meaningful title. Titles such as "A question," "Bug report" and "Help!" provide others no clue what your message is about;
  • Include the version number of the software you are using;
  • This is not an official customer support helpdesk. If you need a prompt and official response, please contact our support team directly instead. It may take a while until you receive a reply in the forum;
Post Reply
User avatar
jjeffman
Posts: 8
Joined: Thu Jan 19, 2012 2:31 pm
Location: Porto Alegre, Brazil

PHP 2010 JavaScript code checker.

Post by jjeffman »

Hello.

JSLint Java Script checker is not able to deal with

Code: Select all

var user_id = <?php echo($user_id.";\n"); ?> 
. I suggest it ignore the JavaScript lines which contains PHP code instead of report them as errors. Imagine if the code has too many commands like the one above.
Best regards.

Jayme Jeffman
Post Reply