Skip to content

Commit

Permalink
Address build.py error & closure warnings (scratchfoundation#688)
Browse files Browse the repository at this point in the history
* Restore en.json to fix scratchfoundation#685

* Address closure compiler warnings
  • Loading branch information
tmickel authored Oct 17, 2016
1 parent f318d6a commit 2a16e1f
Show file tree
Hide file tree
Showing 4 changed files with 381 additions and 11 deletions.
6 changes: 3 additions & 3 deletions core/comment.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,9 @@ Blockly.Comment.prototype.drawIcon_ = function(group) {
// Body of question mark.
Blockly.createSvgElement('path',
{'class': 'blocklyIconSymbol',
'd': 'm6.8,10h2c0.003,-0.617 0.271,-0.962 0.633,-1.266 2.875,-2.405 \
0.607,-5.534 -3.765,-3.874v1.7c3.12,-1.657 3.698,0.118 2.336,1.25 \
-1.201,0.998 -1.201,1.528 -1.204,2.19z'},
'd': 'm6.8,10h2c0.003,-0.617 0.271,-0.962 0.633,-1.266 2.875,-2.405' +
' 0.607,-5.534 -3.765,-3.874v1.7c3.12,-1.657 3.698,0.118 2.336,1.25' +
' -1.201,0.998 -1.201,1.528 -1.204,2.19z'},
group);
// Dot of question point.
Blockly.createSvgElement('rect',
Expand Down
14 changes: 7 additions & 7 deletions core/mutator.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,13 @@ Blockly.Mutator.prototype.drawIcon_ = function(group) {
// Gear teeth.
Blockly.createSvgElement('path',
{'class': 'blocklyIconSymbol',
'd': 'm4.203,7.296 0,1.368 -0.92,0.677 -0.11,0.41 0.9,1.559 \
0.41,0.11 1.043,-0.457 1.187,0.683 0.127,1.134 0.3,0.3 \
1.8,0 0.3,-0.299 0.127,-1.138 1.185,-0.682 1.046,0.458 0.409,-0.11 \
0.9,-1.559 -0.11,-0.41 -0.92,-0.677 0,-1.366 0.92,-0.677 0.11,-0.41 \
-0.9,-1.559 -0.409,-0.109 -1.046,0.458 -1.185,-0.682 -0.127,-1.138 \
-0.3,-0.299 -1.8,0 -0.3,0.3 -0.126,1.135 -1.187,0.682 -1.043,-0.457 \
-0.41,0.11 -0.899,1.559 0.108,0.409z'},
'd': 'm4.203,7.296 0,1.368 -0.92,0.677 -0.11,0.41 0.9,1.559 ' +
'0.41,0.11 1.043,-0.457 1.187,0.683 0.127,1.134 0.3,0.3 ' +
'1.8,0 0.3,-0.299 0.127,-1.138 1.185,-0.682 1.046,0.458 0.409,-0.11 ' +
'0.9,-1.559 -0.11,-0.41 -0.92,-0.677 0,-1.366 0.92,-0.677 0.11,-0.41 ' +
'-0.9,-1.559 -0.409,-0.109 -1.046,0.458 -1.185,-0.682 -0.127,-1.138 ' +
'-0.3,-0.299 -1.8,0 -0.3,0.3 -0.126,1.135 -1.187,0.682 -1.043,-0.457 ' +
'-0.41,0.11 -0.899,1.559 0.108,0.409z'},
group);
// Axle hole.
Blockly.createSvgElement('circle',
Expand Down
1 change: 0 additions & 1 deletion core/workspace_svg.js
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,6 @@ Blockly.WorkspaceSvg.prototype.addFlyout_ = function() {
horizontalLayout: this.horizontalLayout,
toolboxPosition: this.options.toolboxPosition
};
/** @type {Blockly.Flyout} */
if (this.horizontalLayout) {
this.flyout_ = new Blockly.HorizontalFlyout(workspaceOptions);
} else {
Expand Down
Loading

0 comments on commit 2a16e1f

Please sign in to comment.