ESlint eqeqeq

and require-jsdoc, no-negated-condition
This commit is contained in:
Peter Jaszkowiak
2017-02-18 14:36:16 -07:00
parent 144fa8698c
commit fdf4f873bf
5 changed files with 9 additions and 9 deletions

View File

@@ -422,7 +422,7 @@
return undefined;
}
var i = props.indexOf('.');
if (i == -1) {
if (i === -1) {
if (value !== undefined) {
obj[props] = value;
}