fix(rest) read regExp: .? -> \?

This commit is contained in:
coderaiser 2014-10-23 11:00:02 -04:00
parent 622849d233
commit 5039e085d8

View file

@ -48,7 +48,7 @@ var Util, DOM, CloudFunc, CloudCmd;
};
this.read = function(url, dataType, callback) {
var isQuery = /.?/.test(url),
var isQuery = /\?/.test(url),
isBeautify = /.?beautify$/.test(url),
isFunc = Util.type.function(dataType);