Fix space-infix-ops

http://eslint.org/docs/rules/space-infix-ops
This commit is contained in:
Ray Schamp 2016-10-24 11:19:07 -04:00
parent 7712b2902f
commit 63cfa4229a
2 changed files with 2 additions and 2 deletions

View file

@ -116,7 +116,7 @@ Scratch3SensingBlocks.prototype.getKeyPressed = function (args, util) {
Scratch3SensingBlocks.prototype.daysSince2000 = function () {
var msPerDay = 24 * 60 * 60 * 1000;
var start = new Date(2000, 1-1, 1);
var start = new Date(2000, 1 - 1, 1);
var today = new Date();
var dstAdjust = today.getTimezoneOffset() - start.getTimezoneOffset();
var mSecsSinceStart = today.valueOf() - start.valueOf();

View file

@ -399,7 +399,7 @@ Blocks.prototype.blockToXML = function (blockId) {
// Encode properties of this block.
var tagName = (block.shadow) ? 'shadow' : 'block';
var xy = (block.topLevel) ?
' x="' + block.x +'" y="' + block.y +'"' :
' x="' + block.x + '" y="' + block.y + '"' :
'';
var xmlString = '';
xmlString += '<' + tagName +