mirror of
https://github.com/google/blockly.git
synced 2026-01-09 10:00:09 +01:00
fix: update prettify url (#6459)
This commit is contained in:
@@ -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);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user