Spelling. Spelling is hard.

This commit is contained in:
Rachel Fenichel
2017-05-19 16:31:12 -07:00
committed by GitHub
parent 104958e25f
commit 65908e8874

View File

@@ -56,7 +56,7 @@
{media: '../../media/',
toolbox: document.getElementById('toolbox')});
// Inject secondary workspace.
var seconaryWorkspace = Blockly.inject('secondaryDiv',
var secondaryWorkspace = Blockly.inject('secondaryDiv',
{media: '../../media/',
readOnly: true});
// Listen to events on primary workspace.
@@ -70,7 +70,7 @@
var json = primaryEvent.toJson();
console.log(json);
// Convert JSON back into an event, then execute it.
var secondaryEvent = Blockly.Events.fromJson(json, seconaryWorkspace);
var secondaryEvent = Blockly.Events.fromJson(json, secondaryWorkspace);
secondaryEvent.run(true);
}
</script>