mirror of
https://github.com/google/blockly.git
synced 2026-01-06 08:30:13 +01:00
Replacing latest prettifier hosted in repo with latest version at rawgit CDN. (#1120)
This commit is contained in:
committed by
GitHub
parent
c53605fef4
commit
3840b3804f
@@ -875,7 +875,7 @@ FactoryUtils.injectCode = function(code, id) {
|
||||
var pre = document.getElementById(id);
|
||||
pre.textContent = code;
|
||||
code = pre.textContent;
|
||||
code = prettyPrintOne(code, 'js');
|
||||
code = PR.prettyPrintOne(code, 'js');
|
||||
pre.innerHTML = code;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user