Fix minor style errors
And keep it that way, by making jscs config more opinionated. // FREEBIE
This commit is contained in:
parent
b09cb228f7
commit
173e037fa6
17 changed files with 97 additions and 38 deletions
|
@ -250,7 +250,9 @@
|
|||
},
|
||||
|
||||
openDropped: function(e) {
|
||||
if (e.originalEvent.dataTransfer.types[0] != 'Files') return;
|
||||
if (e.originalEvent.dataTransfer.types[0] != 'Files') {
|
||||
return;
|
||||
}
|
||||
|
||||
e.stopPropagation();
|
||||
e.preventDefault();
|
||||
|
@ -260,7 +262,9 @@
|
|||
},
|
||||
|
||||
showArea: function(e) {
|
||||
if (e.originalEvent.dataTransfer.types[0] != 'Files') return;
|
||||
if (e.originalEvent.dataTransfer.types[0] != 'Files') {
|
||||
return;
|
||||
}
|
||||
|
||||
e.stopPropagation();
|
||||
e.preventDefault();
|
||||
|
@ -268,7 +272,9 @@
|
|||
},
|
||||
|
||||
hideArea: function(e) {
|
||||
if (e.originalEvent.dataTransfer.types[0] != 'Files') return;
|
||||
if (e.originalEvent.dataTransfer.types[0] != 'Files') {
|
||||
return;
|
||||
}
|
||||
|
||||
e.stopPropagation();
|
||||
e.preventDefault();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue