Merge pull request #344 from google/revert-108-toolbox-id

Revert "Add option to set id on toolbox"
This commit is contained in:
Neil Fraser
2016-04-21 05:57:53 -07:00

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.