mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 18:55:26 +00:00
fix(files) set: regExp.match -> name.match
This commit is contained in:
parent
da023c4e9c
commit
3d5ddacc0c
1 changed files with 1 additions and 1 deletions
|
|
@ -46,7 +46,7 @@ var Util, DOM;
|
|||
this.set = function(name, data, callback) {
|
||||
var strFiles = FILES_JSON + FILES_HTML,
|
||||
regExp = new RegExp(strFiles),
|
||||
isFile = regExp.match(regExp);
|
||||
isFile = name.match(regExp);
|
||||
|
||||
Util.checkArgs(arguments, [name, data]);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue