Allow dashes in included file names.
This commit is contained in:
parent
1b89e7e290
commit
8bf0e7c2aa
|
@ -162,7 +162,7 @@ function _handle(req, res, jsFilename, jsFiles) {
|
|||
return;
|
||||
}
|
||||
|
||||
var founds = fileValues["ace.js"].match(/\$\$INCLUDE_[a-zA-Z_]+\([a-zA-Z0-9.\/_"]+\)/gi);
|
||||
var founds = fileValues["ace.js"].match(/\$\$INCLUDE_[a-zA-Z_]+\([a-zA-Z0-9.\/_"-]+\)/gi);
|
||||
|
||||
//go trough all includes
|
||||
async.forEach(founds, function (item, callback)
|
||||
|
|
Loading…
Reference in New Issue