From 103c10eddb549a112f058ee0ec7cedeccb85e0de Mon Sep 17 00:00:00 2001 From: marisaleung Date: Thu, 27 Jul 2017 16:11:41 -0700 Subject: [PATCH] Change workspace name to playgroundWorkspace. --- demos/blockfactory/block_option.js | 6 +++--- demos/custom-dialogs/index.html | 2 +- demos/fixed/index.html | 2 +- demos/generator/index.html | 8 ++++---- demos/headless/index.html | 6 +++--- demos/interpreter/async-execution.html | 12 ++++++------ demos/interpreter/step-execution.html | 12 ++++++------ demos/maxBlocks/index.html | 6 +++--- demos/resizable/overlay.html | 4 ++-- demos/rtl/index.html | 4 ++-- demos/storage/index.html | 2 +- demos/toolbox/index.html | 2 +- tests/generators/index.html | 25 +++++++++++++------------ 13 files changed, 46 insertions(+), 45 deletions(-) diff --git a/demos/blockfactory/block_option.js b/demos/blockfactory/block_option.js index 8bc1a2fd4..e7cdaa6af 100644 --- a/demos/blockfactory/block_option.js +++ b/demos/blockfactory/block_option.js @@ -126,9 +126,9 @@ BlockOption.prototype.showPreviewBlock = function() { var blockOptPreviewID = this.dom.id + '_workspace'; // Inject preview block. - var workspace = Blockly.inject(blockOptPreviewID, {readOnly:true}); - Blockly.Xml.domToWorkspace(this.previewBlockXml, workspace); - this.previewWorkspace = workspace; + var demoWorkspace = Blockly.inject(blockOptPreviewID, {readOnly:true}); + Blockly.Xml.domToWorkspace(this.previewBlockXml, demoWorkspace); + this.previewWorkspace = demoWorkspace; // Center the preview block in the workspace. this.centerBlock(); diff --git a/demos/custom-dialogs/index.html b/demos/custom-dialogs/index.html index 42cba5477..ee1bc840e 100644 --- a/demos/custom-dialogs/index.html +++ b/demos/custom-dialogs/index.html @@ -47,7 +47,7 @@ diff --git a/demos/fixed/index.html b/demos/fixed/index.html index 680fa7691..346732858 100644 --- a/demos/fixed/index.html +++ b/demos/fixed/index.html @@ -38,7 +38,7 @@ diff --git a/demos/generator/index.html b/demos/generator/index.html index 7bc483855..c76e1f3e6 100644 --- a/demos/generator/index.html +++ b/demos/generator/index.html @@ -113,16 +113,16 @@ diff --git a/demos/interpreter/async-execution.html b/demos/interpreter/async-execution.html index e68f0dc0d..11dfc5088 100644 --- a/demos/interpreter/async-execution.html +++ b/demos/interpreter/async-execution.html @@ -132,11 +132,11 @@ diff --git a/demos/resizable/overlay.html b/demos/resizable/overlay.html index 2d9f41f9b..ee2600e04 100644 --- a/demos/resizable/overlay.html +++ b/demos/resizable/overlay.html @@ -66,7 +66,7 @@ diff --git a/demos/rtl/index.html b/demos/rtl/index.html index fd84febd2..080e9f864 100644 --- a/demos/rtl/index.html +++ b/demos/rtl/index.html @@ -23,12 +23,12 @@ diff --git a/tests/generators/index.html b/tests/generators/index.html index a4d39ae97..8ac8f4799 100644 --- a/tests/generators/index.html +++ b/tests/generators/index.html @@ -73,10 +73,10 @@