Using JSLint In Java/GWT
I'm currently working on a project in Java, that will allow users to type Javascript code into a GWT Widget. How would I go about importing/using JSLint to check for errors? I look
Solution 1:
The JSlint javascript source can be found here. You could include the javascript in your WAR, reference it with a script link in your page(s), and make JSNI calls from/to your GWT code.
Note that JSLint has a No Evil clause in it's license:
// The Software shall be used for Good, not Evil.
Here's a good start on JSNI.
Post a Comment for "Using JSLint In Java/GWT"