File tree Expand file tree Collapse file tree 1 file changed +12
-12
lines changed
src/PatternLab/PatternData/Exporters Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change 1717use \PatternLab \Timer ;
1818
1919class DataLinkExporter extends \PatternLab \PatternData \Exporter {
20-
20+
2121 public function __construct ($ options = array ()) {
22-
22+
2323 parent ::__construct ($ options );
24-
24+
2525 }
26-
26+
2727 public function run () {
28-
28+
2929 $ store = PatternData::get ();
3030 foreach ($ store as $ patternStoreKey => $ patternStoreData ) {
31-
31+
3232 if ($ patternStoreData ["category " ] == "pattern " ) {
33-
34- $ value = "../../ " .$ patternStoreData ["pathDash " ]."/ " .$ patternStoreData ["pathDash " ].".html " ;
33+
34+ $ value = "../../patterns/ " .$ patternStoreData ["pathDash " ]."/ " .$ patternStoreData ["pathDash " ].".html " ;
3535 Data::setOptionLink ($ patternStoreKey , $ value );
36-
36+
3737 }
38-
38+
3939 }
40-
40+
4141 }
42-
42+
4343}
You can’t perform that action at this time.
0 commit comments