forked from Archives/Athou_commafeed
use cdnjs instead of netdna
This commit is contained in:
@@ -19,7 +19,7 @@ public class BootstrapReference extends UrlResourceReference {
|
|||||||
|
|
||||||
public BootstrapReference() {
|
public BootstrapReference() {
|
||||||
super(
|
super(
|
||||||
Url.parse("https://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.0/js/bootstrap.min.js"));
|
Url.parse("https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/2.3.0/bootstrap.min.js"));
|
||||||
}
|
}
|
||||||
|
|
||||||
@SuppressWarnings("unchecked")
|
@SuppressWarnings("unchecked")
|
||||||
@@ -29,9 +29,9 @@ public class BootstrapReference extends UrlResourceReference {
|
|||||||
.asList(JavaScriptHeaderItem
|
.asList(JavaScriptHeaderItem
|
||||||
.forReference(JQueryReference.INSTANCE),
|
.forReference(JQueryReference.INSTANCE),
|
||||||
CssHeaderItem.forReference(new UrlResourceReference(
|
CssHeaderItem.forReference(new UrlResourceReference(
|
||||||
Url.parse("https://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.0/css/bootstrap-combined.no-icons.min.css"))),
|
Url.parse("https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/2.3.0/css/bootstrap.no-icons.min.css"))),
|
||||||
CssHeaderItem.forReference(new UrlResourceReference(
|
CssHeaderItem.forReference(new UrlResourceReference(
|
||||||
Url.parse("https://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.0/css/bootstrap-responsive.min.css"))));
|
Url.parse("https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/2.3.0/css/bootstrap-responsive.min.css"))));
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void renderHead(final IHeaderResponse response) {
|
public static void renderHead(final IHeaderResponse response) {
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ public class FontAwesomeReference extends UrlResourceReference {
|
|||||||
|
|
||||||
public FontAwesomeReference() {
|
public FontAwesomeReference() {
|
||||||
super(
|
super(
|
||||||
Url.parse("https://netdna.bootstrapcdn.com/font-awesome/3.0.2/css/font-awesome.css"));
|
Url.parse("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/3.0.2/css/font-awesome.min.css"));
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void renderHead(final IHeaderResponse response) {
|
public static void renderHead(final IHeaderResponse response) {
|
||||||
|
|||||||
Reference in New Issue
Block a user