diff --git a/src/loader/js/loader.js b/src/loader/js/loader.js index 3b31a30c7be..9b21225ebdc 100644 --- a/src/loader/js/loader.js +++ b/src/loader/js/loader.js @@ -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. @@ -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: [] };