Skip to content

Commit 71fa58a

Browse files
committed
properly setting pattern arrays for pushing data to the views
1 parent e450689 commit 71fa58a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/PatternLab/PatternData/Rules/PatternRule.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,9 @@ public function run($depth, $ext, $path, $pathName, $name) {
8585
"pathDash" => $patternPathDash,
8686
"isDir" => $this->isDirProp,
8787
"isFile" => $this->isFileProp,
88-
"patternPartialExampleAdditions" => array(),
89-
"patternPartialDescAdditions" => array());
88+
"partialViewDescAdditions" => array(),
89+
"partialViewExampleAdditions" => array(),
90+
"codeViewDescAdditions" => array());
9091

9192
// add any subtype info if necessary
9293
if ($depth == 2) {

0 commit comments

Comments
 (0)