mirror of
https://github.com/google/blockly.git
synced 2026-03-09 14:50:09 +01:00
Merge branch 'master' into develop
This commit is contained in:
@@ -202,6 +202,10 @@ Blockly.Toolbox.prototype.populate_ = function(newTree) {
|
||||
var childOut = rootOut.createNode(childIn.getAttribute('name'));
|
||||
childOut.blocks = [];
|
||||
treeOut.add(childOut);
|
||||
var customId = childIn.getAttribute('id');
|
||||
if (customId) {
|
||||
childOut.setId(customId);
|
||||
}
|
||||
var custom = childIn.getAttribute('custom');
|
||||
if (custom) {
|
||||
// Variables and procedures are special dynamic categories.
|
||||
|
||||
Reference in New Issue
Block a user