鏡像自
https://git.coolaj86.com/coolaj86/telebit.js.git
synced 2026-03-27 15:36:52 +00:00
parse null/undefined correctly
This commit is contained in:
父節點
252c2c80a4
當前提交
aa35402c22
@ -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];
|
||||
});
|
||||
|
||||
載入中…
x
新增問題並參考
Block a user