Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » dojo and JavaScript validation?
dojo and JavaScript validation? [message #528914] Thu, 22 April 2010 07:42 Go to previous message
Michael Moser is currently offline Michael Moser
Messages: 914
Registered: July 2009
Senior Member
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?

Michael
 
Read Message
Read Message
Previous Topic:Content Assist exstension in JSP editor
Next Topic:No repository found at http://download.eclipse.org/webtools/updates
Goto Forum:
  


Current Time: Wed May 22 13:19:38 EDT 2013

Powered by FUDForum. Page generated in 0.01658 seconds