|
20 | 20 | <script src="site_libs/bootstrap-3.3.5/shim/html5shiv.min.js"></script>
|
21 | 21 | <script src="site_libs/bootstrap-3.3.5/shim/respond.min.js"></script>
|
22 | 22 | <script src="site_libs/navigation-1.1/tabsets.js"></script>
|
23 |
| -<link href="site_libs/highlightjs-1.1/default.css" rel="stylesheet" /> |
24 |
| -<script src="site_libs/highlightjs-1.1/highlight.js"></script> |
| 23 | +<link href="site_libs/highlightjs-9.12.0/default.css" rel="stylesheet" /> |
| 24 | +<script src="site_libs/highlightjs-9.12.0/highlight.js"></script> |
25 | 25 | <link href="site_libs/font-awesome-4.5.0/css/font-awesome.min.css" rel="stylesheet" />
|
26 | 26 |
|
27 | 27 | <style type="text/css">code{white-space: pre;}</style>
|
|
31 | 31 | }
|
32 | 32 | </style>
|
33 | 33 | <script type="text/javascript">
|
34 |
| -if (window.hljs && document.readyState && document.readyState === "complete") { |
35 |
| - window.setTimeout(function() { |
36 |
| - hljs.initHighlighting(); |
37 |
| - }, 0); |
| 34 | +if (window.hljs) { |
| 35 | + hljs.configure({languages: []}); |
| 36 | + hljs.initHighlightingOnLoad(); |
| 37 | + if (document.readyState && document.readyState === "complete") { |
| 38 | + window.setTimeout(function() { hljs.initHighlighting(); }, 0); |
| 39 | + } |
38 | 40 | }
|
39 | 41 | </script>
|
40 | 42 |
|
@@ -240,7 +242,7 @@ <h3>Installation</h3>
|
240 | 242 | <div id="manual-installation" class="section level4">
|
241 | 243 | <h4>Manual Installation</h4>
|
242 | 244 | <ol style="list-style-type: decimal">
|
243 |
| -<li>Download <a href="http://swirlstats.com/scn/R_Programming.swc">this</a> file.</li> |
| 245 | +<li>Download <a href="http://swirlstats.com/scn/Psychology_Statistics.swc">this</a> file.</li> |
244 | 246 | <li>Run <code>swirl::install_course()</code> in the R console.</li>
|
245 | 247 | <li>Select the file you just downloaded.</li>
|
246 | 248 | </ol>
|
@@ -276,7 +278,7 @@ <h3>Website</h3>
|
276 | 278 | (function () {
|
277 | 279 | var script = document.createElement("script");
|
278 | 280 | script.type = "text/javascript";
|
279 |
| - script.src = "https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"; |
| 281 | + script.src = "https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"; |
280 | 282 | document.getElementsByTagName("head")[0].appendChild(script);
|
281 | 283 | })();
|
282 | 284 | </script>
|
|
0 commit comments