We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fbce271 commit 4753991Copy full SHA for 4753991
lib/web/mage/requirejs/mixins.js
@@ -114,13 +114,13 @@ define('mixins', [
114
* @returns {Array} An array of paths to mixins.
115
*/
116
getMixins: function (path) {
117
- var config = module.config() || {}, mixins;
+ var config = module.config() || {},
118
+ mixins;
119
120
// fix for when urlArgs is set
121
if (path.indexOf('?') !== -1) {
122
path = path.substring(0, path.indexOf('?'));
- }
123
-
+ }
124
mixins = config[path] || {};
125
126
return Object.keys(mixins).filter(function (mixin) {
0 commit comments