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 29d7701 commit 1c89402Copy full SHA for 1c89402
lib/web/mage/requirejs/mixins.js
@@ -115,12 +115,14 @@ define('mixins', [
115
*/
116
getMixins: function (path) {
117
118
- // fix for when urlArgs is set
119
- if (path.indexOf('?')!=-1) {
120
- path=path.substring(0,path.indexOf('?'));
+ var config;
+
+ // fix for when urlArgs is set
121
+ if (path.indexOf('?') !== -1) {
122
+ path = path.substring(0, path.indexOf('?'));
123
}
124
- var config = module.config() || {},
125
+ config = module.config() || {},
126
mixins = config[path] || {};
127
128
return Object.keys(mixins).filter(function (mixin) {
0 commit comments