We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 13dbeaa commit 2f84d9cCopy full SHA for 2f84d9c
1 file changed
core/lib/parameter_hunter.js
@@ -1,6 +1,7 @@
1
'use strict';
2
3
-const path = require('path');
+const smh = require('./style_modifier_hunter');
4
+const style_modifier_hunter = new smh();
5
6
const getPartial = require('./get');
7
const logger = require('./log');
@@ -293,6 +294,11 @@ const parameter_hunter = function () {
293
294
}
295
296
297
+ //if partial has style modifier data, replace the styleModifier value
298
+ if (pattern.stylePartials && pattern.stylePartials.length > 0) {
299
+ style_modifier_hunter.consume_style_modifier(partialPattern, pMatch, patternlab);
300
+ }
301
+
302
// set pattern.extendedTemplate pMatch with replacedPartial
303
pattern.extendedTemplate = pattern.extendedTemplate.replace(pMatch, partialPattern.extendedTemplate);
304
0 commit comments