From e91865fc2187d5135f91ff66ca3a3a2ff9bf16f0 Mon Sep 17 00:00:00 2001
From: john <a49594a@gmail.com>
Date: Fri, 21 Apr 2017 16:36:33 +0800
Subject: [PATCH] the right quots is mission in blockToXML

the right quote is mission in blockToXML, and it will result in the following code execution errors

        vm.on('workspaceUpdate', function (data) {
            workspace.clear();
            var dom = Blockly.Xml.textToDom(data.xml);
            Blockly.Xml.domToWorkspace(dom, workspace);
        });
---
 src/engine/blocks.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/engine/blocks.js b/src/engine/blocks.js
index 312c73779..0c90d1a64 100644
--- a/src/engine/blocks.js
+++ b/src/engine/blocks.js
@@ -407,7 +407,7 @@ class Blocks {
                 id="${block.id}"
                 type="${block.opcode}"
                 ${block.topLevel ?
-                    `x="${block.x} y="${block.y}` :
+                    `x="${block.x}" y="${block.y}"` :
                     ''
                 }
             >`;