Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Fix data() function.param #24

wants to merge 1 commit into


None yet
2 participants

I was updating jslint4java to the latest JSLint, and noticed that the data structure returned by data() isn't as it used to be. In particular, it looks like the parameter listing of a function is no longer a list of strings.

This patch fixes it for me, though it may be handled better earlier in the code.


douglascrockford commented Feb 16, 2011

The new structure preserves more information about the program source, which could be useful in future tools.

Sure—would you mind updating the comment to match what is produced in that case? That's what lead me to assume the behaviour was unintentional.


This issue was closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment