Skip to content

Commit

Permalink
fix: update prettify url (#6459)
Browse files Browse the repository at this point in the history
  • Loading branch information
derwehr committed Sep 30, 2022
1 parent 8530e6d commit 852e48a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion demos/blockfactory/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<script src="/storage.js"></script>
<link rel="stylesheet" href="factory.css">
<link rel="stylesheet" href="cp.css">
<script src="https://cdn.rawgit.com/google/code-prettify/master/loader/run_prettify.js"></script>
<script src="https://cdn.jsdelivr.net/gh/google/code-prettify@master/loader/run_prettify.js"></script>
<script>
var blocklyFactory;
var init = function() {
Expand Down
2 changes: 1 addition & 1 deletion demos/blockfactory_old/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
display: none;
}
</style>
<script src="https://cdn.rawgit.com/google/code-prettify/master/loader/run_prettify.js"></script>
<script src="https://cdn.jsdelivr.net/gh/google/code-prettify@master/loader/run_prettify.js"></script>
</head>
<body>
<table>
Expand Down
2 changes: 1 addition & 1 deletion demos/code/code.js
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ Code.bindClick = function(el, func) {
*/
Code.importPrettify = function() {
var script = document.createElement('script');
script.setAttribute('src', 'https://cdn.rawgit.com/google/code-prettify/master/loader/run_prettify.js');
script.setAttribute('src', 'https://cdn.jsdelivr.net/gh/google/code-prettify@master/loader/run_prettify.js');
document.head.appendChild(script);
};

Expand Down

0 comments on commit 852e48a

Please sign in to comment.