Last active
August 29, 2015 14:07
-
-
Save nsams/509a037e3e685b6f7259 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/Kwf/Assets/Dependency/File.php b/Kwf/Assets/Dependency/File.php | |
index 74ef509..bd4b10e 100644 | |
--- a/Kwf/Assets/Dependency/File.php | |
+++ b/Kwf/Assets/Dependency/File.php | |
@@ -114,6 +114,10 @@ class Kwf_Assets_Dependency_File extends Kwf_Assets_Dependency_Abstract | |
$cssClass = substr($cssClass, strlen($i)+1); | |
} | |
} | |
+ if ($this->getFileName() == getcwd().'/themes/Theme/Menu/Main/Component.scss') { | |
+ p($paths); | |
+ d($cssClass); | |
+ } | |
if (substr($cssClass, -4) == '.css') { | |
$cssClass = substr($cssClass, 0, -4); | |
} | |
diff --git a/Kwf/Assets/Dependency/File/Scss.php b/Kwf/Assets/Dependency/File/Scss.php | |
index 911b62f..e167a40 100644 | |
--- a/Kwf/Assets/Dependency/File/Scss.php | |
+++ b/Kwf/Assets/Dependency/File/Scss.php | |
@@ -21,6 +21,7 @@ class Kwf_Assets_Dependency_File_Scss extends Kwf_Assets_Dependency_File_Css | |
$cacheId = 'v2'.str_replace(array('\\', ':', '/', '.', '-'), '_', $fileName); | |
$ret = $cache->load($cacheId); | |
+ $ret = false; | |
if ($ret && !isset($ret['mtime'])) { | |
$ret = false; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment