mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 18:21:39 +09:00
reverse merge from 1.6.0 (r10572)
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10712 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
f0aa085c94
commit
63f9e43024
1 changed files with 16 additions and 0 deletions
|
|
@ -70,6 +70,8 @@
|
|||
$map = &$this->cssMap;
|
||||
$mapIndex = &$this->cssMapIndex;
|
||||
$key = $file->filePath . $file->fileName . "\t" . $file->targetIe . "\t" . $file->media;
|
||||
|
||||
$this->_arrangeCssIndex($pathInfo['dirname'], $file);
|
||||
}
|
||||
else if ($file->fileExtension == 'js')
|
||||
{
|
||||
|
|
@ -265,4 +267,18 @@
|
|||
|
||||
return $path;
|
||||
}
|
||||
|
||||
private function _arrangeCssIndex($dirName, $file)
|
||||
{
|
||||
if($file->index !== 0)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
$dirName = str_replace('./', '', $dirName);
|
||||
$tmp = explode('/', $dirName);
|
||||
|
||||
$cssSortList = array('common'=>-100000, 'layouts'=>-90000, 'modules'=>-80000, 'widgets'=>-70000, 'addons'=>-60000);
|
||||
$file->index = $cssSortList[$tmp[0]];
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue