mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-18 17:05:17 +00:00
refactor(rest) doNotLog -> notLog
This commit is contained in:
parent
f4ffdffa82
commit
37d22ae7d8
1 changed files with 5 additions and 4 deletions
|
|
@ -88,7 +88,8 @@ var Util, DOM, CloudFunc, CloudCmd;
|
|||
method : 'GET',
|
||||
url : '/config',
|
||||
callback : callback,
|
||||
imgPosition : { top: true }
|
||||
imgPosition : { top: true },
|
||||
notLog : true
|
||||
});
|
||||
},
|
||||
|
||||
|
|
@ -110,7 +111,7 @@ var Util, DOM, CloudFunc, CloudCmd;
|
|||
url : '/markdown' + url,
|
||||
callback : callback,
|
||||
imgPosition : { top: true },
|
||||
doNotLog : true
|
||||
notLog : true
|
||||
});
|
||||
},
|
||||
|
||||
|
|
@ -121,7 +122,7 @@ var Util, DOM, CloudFunc, CloudCmd;
|
|||
data : data,
|
||||
callback : callback,
|
||||
imgPosition : { top: true },
|
||||
doNotLog : true
|
||||
notLog : true
|
||||
});
|
||||
}
|
||||
};
|
||||
|
|
@ -152,7 +153,7 @@ var Util, DOM, CloudFunc, CloudCmd;
|
|||
success : function(data) {
|
||||
Images.hide();
|
||||
|
||||
if (!p.doNotLog)
|
||||
if (!p.notLog)
|
||||
Util.log(data);
|
||||
|
||||
Util.exec(p.callback, data);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue