mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-18 08:56:20 +00:00
refactored
This commit is contained in:
parent
5006aa500f
commit
57e7614549
1 changed files with 1 additions and 1 deletions
|
|
@ -170,7 +170,7 @@ var Util, DOM, $;
|
|||
if (pObj.hasOwnProperty(n)) {
|
||||
if (Util.isString(v))
|
||||
v = '"' + v + '"';
|
||||
else if (Util.isObject(v) && v !== null)
|
||||
else if (v && Util.isObject(v))
|
||||
v = DOM.stringifyJSON(v);
|
||||
|
||||
json.push((isArray ? "" : '"' + n + '":') + String(v));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue