Skip to content

Commit d269d23

Browse files
committed
remove svg
1 parent da488a2 commit d269d23

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

blockly/src/minecraft/minecraft.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -83,13 +83,6 @@ Minecraft.init = function(config) {
8383
};
8484

8585
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-
9386
Blockly.BROKEN_CONTROL_POINTS = false; // necessary hack?
9487
// Add to reserved word list: API, local variables in execution environment
9588
// (execute) and the infinite loop detection function.
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" id="svgMinecraft"></svg>
21
<!--TODO remove ^-->

0 commit comments

Comments
 (0)