[jbosstools-issues] [JBoss JIRA] (JBIDE-17032) Ability to configure jQuery / jQuery Mobile versions injected by Palette

Alexey Kazakov (JIRA) issues at jboss.org
Thu May 8 19:45:56 EDT 2014


    [ https://issues.jboss.org/browse/JBIDE-17032?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12966619#comment-12966619 ] 

Alexey Kazakov commented on JBIDE-17032:
----------------------------------------

Ok. We will hardcode the following pattern search for JQM 1.3 and 1.4:
*JQM 1.3*:
  jQuery: 1.9.*
  jQuery Mobile: 1.3.*
*JQM 1.4*:
 jQuery: 2.0.*
 jQuery Mobile: 1.4.*

And we also will harcode some pre-set libs available in preferences and wizards:
- the latest versions of jQuery 1.9.*, 1.10.*, 1.*, 2.0.* and 2.*
- the latest versions of jQuery Mobile 1.3.* and 1.4.*

But what do you think about the idea to scan the page http://jquery.com/download/ to get all links to *jquery*.js files and add them automaticly to the preferences if we don't have them already (see the pre-set list of the libs above + user's custome libs)?

> Ability to configure jQuery / jQuery Mobile versions injected by Palette
> ------------------------------------------------------------------------
>
>                 Key: JBIDE-17032
>                 URL: https://issues.jboss.org/browse/JBIDE-17032
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: jsp/jsf/xml/html source editing
>            Reporter: Alexey Kazakov
>            Assignee: Viacheslav Kabanovich
>            Priority: Critical
>              Labels: new_and_noteworthy
>             Fix For: 4.2.0.Beta2
>
>         Attachments: 2014-04-25 17.02.bmml, 2014-04-25 17.02.bmml, 2014-04-25 17.02.png, css.gif, JS-CSSWizBan.png, js.png, lib.png, NextPage.bmml, NextPage.bmml, NextPage.bmml, NextPage.png, Preferences.bmml, Preferences.png, SeparateDialog.bmml, SeparateDialog.png
>
>
> Currently the following versions are injected for JQM 1.4:
> {code}
> <script src="http://code.jquery.com/jquery-1.10.2.min.js"></script>
> <script src="http://code.jquery.com/mobile/1.4.2/jquery.mobile-1.4.2.min.js"></script> 
> {code}
> And for JQM 1.3:
> {code}
> <script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
> <script src="http://code.jquery.com/mobile/1.3.2/jquery.mobile-1.3.2.min.js"></script>
> {code}
> It would be good if we have a place where users can configure what versions of JQ and JQM they want to inject.



--
This message was sent by Atlassian JIRA
(v6.2.3#6260)


More information about the jbosstools-issues mailing list