public function normalizeDebugPaths($css) { $importPath = str_replace('\\', '/', dirname(__FILE__) . '/_fixtures/less.js/less/debug/import/'); $lessPath = str_replace('\\', '/', dirname(__FILE__) . '/_fixtures/less.js/less/debug/'); return str_replace(array($importPath, ILess_DebugInfo::escapeFilenameForMediaQuery($importPath), $lessPath, ILess_DebugInfo::escapeFilenameForMediaQuery($lessPath)), array('{pathimport}', '{pathimportesc}', '{path}', '{pathesc}'), $css); }
/** * Sets the media query format * * @param string $format */ public static function setMediaQueryFormat($format) { self::$mediaQueryFormat = $format; }