Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Trying to spec. JS library, but use XDR to load from CDN
Trying to spec. JS library, but use XDR to load from CDN [message #219477] Wed, 20 August 2008 21:29
David M. Karr is currently offline David M. KarrFriend
Messages: 355
Registered: July 2009
Senior Member
I want the JavaScript editor to show compile errors and help me with code
assist. This works for simple things, but I'm using a third-party
JavaScript library loaded using cross-domain scripting, to get it from a
content-delivery network.

I thought I could get this to work by simply copying in the library
distribution into a directory in my project (not under WebContent), and
specifying that directory as a JavaScript library in the project.

I've tried doing this with two sample projects, one using the Yahoo UI
library, and one using Dojo. With the YUI-using project, at least it
doesn't complain about unknown objects, but it doesn't do much for
completion. When I did this with the Dojo-using project, it just says
"dojo cannot be resolved". However, the page loads and executes fine in
the browser (I used Firebug to verify my log message arrived successfully).
Previous Topic:Turning off validation
Next Topic:org.eclipse.wst.wsdl.util.WSDLParser status
Goto Forum:
  


Current Time: Thu Nov 27 01:54:11 GMT 2014

Powered by FUDForum. Page generated in 0.01546 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software