1
0
mirror of https://github.com/pattern-lab/patternlab-php.git synced 2025-01-17 14:18:30 +01:00

unfinished css helper plugin

This commit is contained in:
Dave Olsen 2014-05-30 22:43:40 -04:00
parent fcfc4a94fb
commit 4dffc4f2cf

View File

@ -0,0 +1,8 @@
// set-up the mark-up for CSS Rule Saver so it can figure out which rules to save
$patternCSSExists = $this->enableCSS;
$patternCSS = "";
if ($this->enableCSS) {
$this->cssRuleSaver->loadHTML($patternCodeRaw,false);
$patternCSS = $this->cssRuleSaver->saveRules();
$this->patternCSS[$patternSubtypeItem["patternPartial"]] = $patternCSS;
}