Re: Features Request for the Report
- --- In email@example.com, Jean-Charles Meyrignac <jcmeyrignac@...> wrote:
>From jslint commmented code:
> How could the Rhino script report the unused and unexpected global variables
"You can request a Function Report, which shows all of the functions and the parameters and vars that they use. This can be used to find implied global variables and other problems. The report is in HTML and can be inserted in an HTML <body>.
var myReport = JSLINT.report(limited);
If limited is true, then the report will be limited to only errors."
I think you can integrate the report call in your rhino script.