We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da488a2 commit d269d23Copy full SHA for d269d23
blockly/src/minecraft/minecraft.js
@@ -83,13 +83,6 @@ Minecraft.init = function(config) {
83
};
84
85
config.afterInject = function() {
86
- var svg = document.getElementById('svgMinecraft');
87
- if (!svg) {
88
- throw "something bad happened";
89
- }
90
- svg.setAttribute('width', CANVAS_WIDTH);
91
- svg.setAttribute('height', CANVAS_HEIGHT);
92
-
93
Blockly.BROKEN_CONTROL_POINTS = false; // necessary hack?
94
// Add to reserved word list: API, local variables in execution environment
95
// (execute) and the infinite loop detection function.
blockly/src/minecraft/visualization.html.ejs
@@ -1,2 +1 @@
1
-<svg xmlns="http://www.w3.org/2000/svg" version="1.1" id="svgMinecraft"></svg>
2
<!--TODO remove ^-->
0 commit comments