Replace category colour pallet with correctly calculated colours.

This commit is contained in:
Neil Fraser
2016-10-23 01:05:13 -07:00
parent 14a07ef2f7
commit 4f08f2536f
5 changed files with 85 additions and 29 deletions

View File

@@ -867,7 +867,7 @@ FactoryUtils.defineAndGetBlockTypes = function(blockDefsString, format) {
FactoryUtils.injectCode = function(code, id) {
var pre = document.getElementById(id);
pre.textContent = code;
code = pre.innerHTML;
code = pre.textContent;
code = prettyPrintOne(code, 'js');
pre.innerHTML = code;
};