mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-08-17 16:59:43 -04:00
All linting other than console statements
This commit is contained in:
parent
68ed110b49
commit
f6c0064235
34 changed files with 315 additions and 306 deletions
test/unit
|
@ -61,7 +61,7 @@ test('create with branch', function (t) {
|
|||
// Find actual branch block
|
||||
var branchBlock = null;
|
||||
for (var i = 0; i < result.length; i++) {
|
||||
if (result[i].id == branchBlockId) {
|
||||
if (result[i].id === branchBlockId) {
|
||||
branchBlock = result[i];
|
||||
}
|
||||
}
|
||||
|
@ -93,10 +93,10 @@ test('create with two branches', function (t) {
|
|||
var firstBranchBlock = null;
|
||||
var secondBranchBlock = null;
|
||||
for (var i = 0; i < result.length; i++) {
|
||||
if (result[i].id == firstBranchBlockId) {
|
||||
if (result[i].id === firstBranchBlockId) {
|
||||
firstBranchBlock = result[i];
|
||||
}
|
||||
if (result[i].id == secondBranchBlockId) {
|
||||
if (result[i].id === secondBranchBlockId) {
|
||||
secondBranchBlock = result[i];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue