From 877b5d3fa0971a66c87122db06fe40deb84beb87 Mon Sep 17 00:00:00 2001 From: Neil Fraser Date: Thu, 30 Jul 2015 08:31:13 -0700 Subject: [PATCH] Fix generating null blocks (issue 142). --- blockly_compressed.js | 2 +- core/generator.js | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/blockly_compressed.js b/blockly_compressed.js index 87eeac918..502b71480 100644 --- a/blockly_compressed.js +++ b/blockly_compressed.js @@ -1214,7 +1214,7 @@ Blockly.Generator.prototype.workspaceToCode=function(a){a||(console.warn("No wor Blockly.Generator.prototype.prefixLines=function(a,b){return b+a.replace(/\n(.)/g,"\n"+b+"$1")};Blockly.Generator.prototype.allNestedComments=function(a){var b=[];a=a.getDescendants();for(var c=0;c