mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-24 03:05:41 +00:00
fix(files) getModules: add FILES_HTML_ROOT to regExp
This commit is contained in:
parent
75bc7134a4
commit
c06c77bf5e
1 changed files with 1 additions and 1 deletions
|
|
@ -65,7 +65,7 @@ var Util, DOM, Promise;
|
|||
function getModule(name, callback) {
|
||||
var path,
|
||||
|
||||
regExpHTML = new RegExp(FILES_HTML),
|
||||
regExpHTML = new RegExp(FILES_HTML + FILES_HTML_ROOT),
|
||||
regExpJSON = new RegExp(FILES_JSON),
|
||||
|
||||
isHTML = name.match(regExpHTML),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue