[jbosstools-issues] [JBoss JIRA] (JBIDE-10155) JavaScript content assist issue with jQuery, but likely more
Vlado Pakan (JIRA)
issues at jboss.org
Tue Mar 31 09:22:19 EDT 2015
[ https://issues.jboss.org/browse/JBIDE-10155?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vlado Pakan closed JBIDE-10155.
-------------------------------
Verified with JBDS 8.1.0.GA-v20150327-1349-B467
> 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: Feature Request
> Components: jsp/jsf/xml/html source editing, upstream
> Affects Versions: 3.3.0.M4
> Reporter: Jay Balunas
> Assignee: Victor Rubezhny
> Priority: Minor
> Labels: jsdt
> Fix For: 4.2.2.Final
>
> Attachments: jboss-as-poh5-archetype.zip, jQueryWithTern.png
>
>
> 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 was sent by Atlassian JIRA
(v6.3.11#6341)
More information about the jbosstools-issues
mailing list