[jbosstools-issues] [JBoss JIRA] (JBIDE-13997) jQuery Mobile code assist doesn't work if jQuery Mobile libs are loaded by Modernizr.load()

Vlado Pakan (JIRA) jira-events at lists.jboss.org
Thu May 23 05:33:06 EDT 2013


     [ https://issues.jboss.org/browse/JBIDE-13997?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vlado Pakan closed JBIDE-13997.
-------------------------------



Verified with JBDS 7.0.0.Beta1-v20130519-0601-B206.
                
> jQuery Mobile code assist doesn't work if jQuery Mobile libs are loaded by Modernizr.load()
> -------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-13997
>                 URL: https://issues.jboss.org/browse/JBIDE-13997
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: jsp/jsf/xml/html source editing
>    Affects Versions: 4.1.0.Alpha2
>            Reporter: Alexey Kazakov
>            Assignee: Alexey Kazakov
>             Fix For: 4.1.0.Beta1
>
>
> We enable jQuery mobile code assist only if there is jQuery-mobile-* reference in <head>
> We should enable this code assist if Modernizr.load() loads jQuery Mobile libs too. For example index.html page from jboss-as-kitchensink-html5-mobile uses Modernizr.load():
> {code}
>     <script type="text/javascript">
>         Modernizr.load([{
>             load: [
>                 "http://code.jquery.com/jquery-1.7.1.min.js",
>                 "js/libs/underscore-min.js",
>                 // Minification - See Readme for details
>                 // For minification, comment out this file
>                 "js/app.js"
>                 // For minification, uncomment this file
>                 // "js/app.min.js"
>             ]...
>     </script>
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list