|
Re: dojo and JavaScript validation? [message #529946 is a reply to message #528914] |
Tue, 27 April 2010 19:11 |
|
On 4/22/2010 7:42 AM, Michael Moser wrote:
> Is there some faint hope to have dojo and the JavaScript validator to
> co-exist?
>
> Today - when I enable JS validation, it already fails the very first
> time I call any dojo method, so it's useless for any code using any dojo
> libraries.
>
> ------------------------
> <script type="text/javascript" src="../../dojo/dojo.js"></script>
> <script>
> ...
> dojo.require("dojo.parser"); <== error: dojo can not be resolved...
> ...
> <tons of error msg. here...>
> ------------------------
>
> Is there some way or option to get this working? Or at least have the
> validator ignore those calls?
You can disable some or all of the semantic validation from the
JavaScript Errors/Warnings preference page, but I do not see that
message with Galileo SR2. Which version are you using?
--
Nitin Dahyabhai
Eclipse WTP Source Editing
IBM Rational
_
Nitin Dahyabhai
Eclipse Web Tools Platform
|
|
|
Powered by
FUDForum. Page generated in 0.03325 seconds