Skip to content

Commit

Permalink
Update mod.js
Browse files Browse the repository at this point in the history
  • Loading branch information
nuxodin authored Apr 15, 2021
1 parent 7e14ac3 commit d47b345
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mod.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,9 @@ function createUrls(obj, realObj, rootUrl){
for (prop in obj) {
if (obj[prop] === 1) {
var url = rootUrl + prop + '.min.js'
if (!urls[url]) urls[url] = {};
if (!urls[url][prop]) urls[url][prop] = [];
urls[url][prop] = [realObj];
if (!urls[url]) urls[url] = {};
if (!urls[url][prop]) urls[url][prop] = [];
urls[url][prop].push(realObj);
} else {
createUrls(obj[prop], realObj[prop], rootUrl + prop + '/');
}
Expand Down

0 comments on commit d47b345

Please sign in to comment.