mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
fix(rest) read regExp: .? -> \?
This commit is contained in:
parent
622849d233
commit
5039e085d8
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue