First pass at svg button in flyout

This commit is contained in:
Rachel Fenichel 2016-06-21 13:42:03 -07:00
parent 603477d188
commit e371da3031
13 changed files with 1833 additions and 1729 deletions

View file

@ -103,6 +103,9 @@ Blockly.Variables.flyoutCategory = function(workspace) {
variableList.unshift(Blockly.Msg.VARIABLES_DEFAULT_NAME);
var xmlList = [];
var button = goog.dom.createDom('button');
button.setAttribute('text', 'Create variable');
xmlList.push(button);
for (var i = 0; i < variableList.length; i++) {
if (Blockly.Blocks['variables_set']) {
// <block type="variables_set" gap="8">