mirror of
https://github.com/tiennm99/styleguide.git
synced 2026-10-13 16:15:27 +00:00
update google/code-prettify load URL
The rawgit service was shutdown in 2019, and people are supposed to migrate to cdn.jsdelivr.net. https://groups.google.com/g/js-code-prettifier/c/IFHev_kLm30
This commit is contained in:
1 parent
254e0ebcb3
commit
07714b62df
2 files changed
+3
-3
No files matched your search
+2
-2
@@ -57,7 +57,7 @@ window.initStyleGuide = function(init) {
|
||||
|
||||
// Call the pretty-printer after we've fixed up the code blocks.
|
||||
var pretty = document.createElement('script');
|
||||
pretty.src = 'https://cdn.rawgit.com/google/code-prettify/master/loader/' +
|
||||
'run_prettify.js';
|
||||
pretty.src = 'https://cdn.jsdelivr.net/gh/google/code-prettify@master/' +
|
||||
'loader/run_prettify.js';
|
||||
document.body.appendChild(pretty);
|
||||
}.bind(null, window.initStyleGuide);
|
||||
Reference in new issue
Block a user