Revert "Add option to set id on toolbox"

This commit is contained in:
Neil Fraser
2016-04-21 05:57:26 -07:00
parent 1d199ae267
commit 418a7e621d

View File

@@ -202,10 +202,6 @@ 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.