refactor(rest) doNotLog -> notLog

This commit is contained in:
coderaiser 2014-05-13 02:27:08 -04:00
parent f4ffdffa82
commit 37d22ae7d8

View file

@ -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);