[
https://issues.jboss.org/browse/JBIDE-10155?page=com.atlassian.jira.plugi...
]
Victor Rubezhny edited comment on JBIDE-10155 at 12/1/11 11:27 AM:
-------------------------------------------------------------------
I suppose that the reason is that $ map is not supported by JSDT. Also, there is a number
of issues opened in BugZilla regarding function overloading (f.i., like this one -
https://bugs.eclipse.org/bugs/show_bug.cgi?id=348319).
May be I'm wrong, and $ maps is supported, but I cannot make JSDT to work with $ maps
using Jay's example. And it doesn't work for me while using the examples taken
from BugZilla issues.
Anyway, for us this is an UpStream issue.
was (Author: vrubezhny):
I suppose that the reason is that $ map is not supported by JSDT. Also, there is a
number of issues opened in BugZilla regarding function overloading (f.i., like this one -
https://bugs.eclipse.org/bugs/show_bug.cgi?id=348319).
May be I'm wrong, and $ maps is supported, but I cannot make JSDT to work with $ maps
using Jay's example. And it doesn't work for me while using the examples taken
from BugZilla issues.
JavaScript content assist issue with jQuery, but likely more
------------------------------------------------------------
Key: JBIDE-10155
URL:
https://issues.jboss.org/browse/JBIDE-10155
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: jsp/jsf/xml source editing
Affects Versions: 3.3.0.M4
Reporter: Jay Balunas
Assignee: Victor Rubezhny
Fix For: 3.3.0.Beta1
Attachments: jboss-as-poh5-archetype.zip
Content assist with JavaScript with jQuery not working, or respecting namespaces. Most
JavaScript content assist was fine.
{code:JavaScript}
<script type="text/javascript">
$(document).ready(function() {
//Fetches the initial member table
updateMemberTable();
//Register a event listener on the sumbit action
$('#reg').submit(function(event) {
event.preventDefault();
var formValues = $(this).serialize();
registerMember(formValues);
});
});
</script>
{code}
Any call to "$('foo')." does not show any content assist. Using
"jquery('foo'." instead of $ partially worked, but still not 100%. Not
all the expected values are there. This makes me think there is two issues.
To see the problem import the project I attached and try out desktop.html, or app.js.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira