Allow dashes in included file names.

pull/343/head
Chad Weider 2012-01-15 22:53:44 -08:00
parent 1b89e7e290
commit 8bf0e7c2aa
1 changed files with 1 additions and 1 deletions

View File

@ -162,7 +162,7 @@ function _handle(req, res, jsFilename, jsFiles) {
return; 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 //go trough all includes
async.forEach(founds, function (item, callback) async.forEach(founds, function (item, callback)