Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-13997

jQuery Mobile code assist doesn't work if jQuery Mobile libs are loaded by Modernizr.load()

    XMLWordPrintable

Details

    Description

      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():

          <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>
      

      Attachments

        Issue Links

          Activity

            People

              alexeykazakov Alexey Kazakov
              alexeykazakov Alexey Kazakov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: