ESlint space-in-parens, block-spacing

This commit is contained in:
Peter Jaszkowiak
2017-02-18 01:21:34 -07:00
parent b1b486f729
commit 532951c24f
17 changed files with 67 additions and 67 deletions

View File

@@ -424,7 +424,7 @@
return undefined;
}
var i = props.indexOf('.');
if( i == -1 ) {
if(i == -1) {
if(value !== undefined) {
obj[props] = value;
}
@@ -433,7 +433,7 @@
var prop = props.slice(0, i);
var newProps = props.slice(i + 1);
if(props !== undefined && !(obj[prop] instanceof Object) ) {
if(props !== undefined && !(obj[prop] instanceof Object)) {
obj[prop] = {};
}