mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
refactored
This commit is contained in:
parent
8e84b75902
commit
8ac0feb065
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