File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -528,6 +528,10 @@ var patternlab_engine = function (config) {
528
528
529
529
patternlab . events . emit ( 'patternlab-pattern-iteration-end' , patternlab ) ;
530
530
531
+ //now that all the main patterns are known, look for any links that might be within data and expand them
532
+ //we need to do this before expanding patterns & partials into extendedTemplates, otherwise we could lose the data -> partial reference
533
+ pattern_assembler . parse_data_links ( patternlab ) ;
534
+
531
535
//diveSync again to recursively include partials, filling out the
532
536
//extendedTemplate property of the patternlab.patterns elements
533
537
// TODO we can reduce the time needed by only processing changed patterns and their partials
@@ -537,10 +541,6 @@ var patternlab_engine = function (config) {
537
541
processHeadPattern ( ) ;
538
542
processFootPattern ( ) ;
539
543
540
- //now that all the main patterns are known, look for any links that might be within data and expand them
541
- //we need to do this before expanding patterns & partials into extendedTemplates, otherwise we could lose the data -> partial reference
542
- pattern_assembler . parse_data_links ( patternlab ) ;
543
-
544
544
//cascade any patternStates
545
545
lineage_hunter . cascade_pattern_states ( patternlab ) ;
546
546
You can’t perform that action at this time.
0 commit comments