Skip to content

Commit 602b01d

Browse files
committed
🚧 stop using CDN for vendor libs
1 parent 40e2d5d commit 602b01d

7 files changed

+486
-5
lines changed

_layouts/default.html

+6-3
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,13 @@
33
<head>
44
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
55
<title>{{ page.title }} // CSS3 Playground</title>
6-
<link rel="stylesheet" href="/main.css" />
6+
<link rel="stylesheet" href="/css/main.css" />
77
{% if page.modernizr == true %}<script src="/js/modernizr.min.js"></script>{% endif %}
8-
{% if page.jquery == true %}<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>{% endif %}
9-
{% if page.jqueryui == true %}<link href="//ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" rel="stylesheet"><script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/jquery-ui.min.js"></script>{% endif %}
8+
{% if page.jquery == true %}<script src="/js/jquery-1.8.3.min.js"></script>{% endif %}
9+
{% if page.jqueryui == true %}
10+
<link href="/css/jquery-ui-1.8.24.css" rel="stylesheet">
11+
<script src="/js/jquery-ui-1.10.3.min.js"></script>
12+
{% endif %}
1013
</head>
1114
<body>
1215
{{ content }}
178 Bytes
Loading
110 Bytes
Loading

css/jquery-ui-1.8.24.css

+464
Large diffs are not rendered by default.

main.css renamed to css/main.css

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ body {
55
color:#ddd;
66
padding:0 2em;
77
font-family: helvetica, sans-serif;
8-
}
8+
}
99
h1 {font-size:3em; margin:.5em 0; text-transform:lowercase; text-shadow:1px 1px 1px rgba(0,0,0,0.5); }
1010
h2 {text-shadow:1px 1px 1px rgba(0,0,0,0.3); }
1111
a {color:inherit; }
@@ -64,4 +64,4 @@ abbr {cursor:help; }
6464
.warning {color:#fff; text-shadow: 1px 1px 0 rgba(0,0,0,0.3); }
6565
.warning a {color:#fff; text-shadow: 0 1px 0 rgba(0,0,0,0.4); }
6666

67-
code {white-space: nowrap; }
67+
code {white-space: nowrap; }

js/jquery-1.8.3.min.js

+2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/jquery-ui-1.10.3.min.js

+12
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)