mirror of
https://github.com/google/blockly.git
synced 2026-01-04 15:40:08 +01:00
fix: update prettify url (#6459)
This commit is contained in:
@@ -31,7 +31,7 @@
|
|||||||
<script src="/storage.js"></script>
|
<script src="/storage.js"></script>
|
||||||
<link rel="stylesheet" href="factory.css">
|
<link rel="stylesheet" href="factory.css">
|
||||||
<link rel="stylesheet" href="cp.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>
|
<script>
|
||||||
var blocklyFactory;
|
var blocklyFactory;
|
||||||
var init = function() {
|
var init = function() {
|
||||||
|
|||||||
@@ -88,7 +88,7 @@
|
|||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
</style>
|
</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>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<table>
|
<table>
|
||||||
|
|||||||
@@ -201,7 +201,7 @@ Code.bindClick = function(el, func) {
|
|||||||
*/
|
*/
|
||||||
Code.importPrettify = function() {
|
Code.importPrettify = function() {
|
||||||
var script = document.createElement('script');
|
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);
|
document.head.appendChild(script);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user