Пример #1
0
 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);
 }