You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2013/05/28 08:22:29 UTC

[jira] [Resolved] (WICKET-5208) Contribute jQuery 1.x or 2.x depending on the user agent

     [ https://issues.apache.org/jira/browse/WICKET-5208?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Grigorov resolved WICKET-5208.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 7.0.0

DynamicJQueryResourceReference is added.
To use it do:

MyApp#init() {
  ...
  getJavaScriptLibrarySettings().setJQueryReference(DynamicJQueryResourceReference.INSTANCE);
  ...
}
                
> Contribute jQuery 1.x or 2.x depending on the user agent
> --------------------------------------------------------
>
>                 Key: WICKET-5208
>                 URL: https://issues.apache.org/jira/browse/WICKET-5208
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 7.0.0
>            Reporter: Martin Grigorov
>            Assignee: Martin Grigorov
>            Priority: Minor
>             Fix For: 7.0.0
>
>         Attachments: WICKET-5208.patch
>
>
> Wicket can use the ClientInfo to decide which version of jQuery do contribute - 2.0 works on all modern browsers (IE9+), while 1.x series still support IE 6/7/8.

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