feature(rest) read: log if query

This commit is contained in:
coderaiser 2014-05-14 09:47:57 -04:00
parent 39e52ee701
commit 412c6cea8a

View file

@ -37,10 +37,13 @@ var Util, DOM, CloudFunc, CloudCmd;
};
this.read = function(url, callback) {
var isQuery = Util.isContainStr(url, '?');
sendRequest({
method : 'GET',
url : CloudFunc.FS + url,
callback : callback
callback : callback,
notLog : !isQuery
});
};