[jbosstools-issues] [JBoss JIRA] (JBIDE-10155) JavaScript content assist issue with jQuery, but likely more

Jay Balunas (Created) (JIRA) jira-events at lists.jboss.org
Thu Nov 10 18:13:45 EST 2011


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
    Affects Versions: 3.3.0.M4
            Reporter: Jay Balunas


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

        


More information about the jbosstools-issues mailing list