Description
Trying to set JQuery reference to a CDN:
Url jqueryCDN = Url.parse("//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js");
getJavaScriptLibrarySettings().setJQueryReference(new UrlResourceReference(jqueryCDN));
Url added in head results in:
<script type="text/javascript" src=".//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
Attachments
Issue Links
- blocks
-
WICKET-5610 Introduce IApplicationSettings.useCdnResources() that will serve jQuery from CDN and can be used by 3rd party libs
- Resolved