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 17
17
use \PatternLab \Timer ;
18
18
19
19
class DataLinkExporter extends \PatternLab \PatternData \Exporter {
20
-
20
+
21
21
public function __construct ($ options = array ()) {
22
-
22
+
23
23
parent ::__construct ($ options );
24
-
24
+
25
25
}
26
-
26
+
27
27
public function run () {
28
-
28
+
29
29
$ store = PatternData::get ();
30
30
foreach ($ store as $ patternStoreKey => $ patternStoreData ) {
31
-
31
+
32
32
if ($ patternStoreData ["category " ] == "pattern " ) {
33
-
34
- $ value = "../../ " .$ patternStoreData ["pathDash " ]."/ " .$ patternStoreData ["pathDash " ].".html " ;
33
+
34
+ $ value = "../../patterns/ " .$ patternStoreData ["pathDash " ]."/ " .$ patternStoreData ["pathDash " ].".html " ;
35
35
Data::setOptionLink ($ patternStoreKey , $ value );
36
-
36
+
37
37
}
38
-
38
+
39
39
}
40
-
40
+
41
41
}
42
-
42
+
43
43
}
You can’t perform that action at this time.
0 commit comments