parse null/undefined correctly

This commit is contained in:
AJ ONeal 2018-06-13 13:21:42 -06:00
parent 252c2c80a4
commit aa35402c22
1 changed files with 4 additions and 0 deletions

View File

@ -135,6 +135,10 @@ function serveControls() {
parts[1] = true;
} else if ('false' === parts[1]) {
parts[1] = false;
} else if ('null' === parts[1]) {
parts[1] = null;
} else if ('undefined' === parts[1]) {
parts[1] = undefined;
}
conf[parts[0]] = parts[1];
});