Skip to content

Commit

Permalink
[loader] Set up comboBase correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
juandopazo authored and tripp committed May 20, 2014
1 parent 00a283e commit 2a34279
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/loader/js/loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -2654,6 +2654,8 @@ Y.log('Undefined module: ' + mname + ', matched a pattern: ' +

group = self.groups[mod.group];

comboBase = self.comboBase;

if (group) {
if (!group.combine || mod.fullpath) {
//This is not a combo module, skip it and load it singly later.
Expand Down Expand Up @@ -2682,8 +2684,6 @@ Y.log('Undefined module: ' + mname + ', matched a pattern: ' +
continue;
}

comboBase = comboBase || self.comboBase;

comboSources[comboBase] = comboSources[comboBase] ||
{ js: [], jsMods: [], css: [], cssMods: [] };

Expand Down

0 comments on commit 2a34279

Please # to comment.