MDL-49518 libraries: Update lessphp to 1.7.0.3

This commit is contained in:
Dave Cooper
2015-03-24 11:01:13 +08:00
parent a149d6a177
commit 657b12788d
61 changed files with 512 additions and 290 deletions
Regular → Executable
+4 -4
View File
@@ -25,7 +25,7 @@ class Less_Tree_Extend extends Less_Tree{
/**
* @param integer $index
*/
function __construct($selector, $option, $index){
public function __construct($selector, $option, $index){
static $i = 0;
$this->selector = $selector;
$this->option = $option;
@@ -46,18 +46,18 @@ class Less_Tree_Extend extends Less_Tree{
$this->parent_ids = array($this->object_id);
}
function accept( $visitor ){
public function accept( $visitor ){
$this->selector = $visitor->visitObj( $this->selector );
}
function compile( $env ){
public function compile( $env ){
Less_Parser::$has_extends = true;
$this->selector = $this->selector->compile($env);
return $this;
//return new Less_Tree_Extend( $this->selector->compile($env), $this->option, $this->index);
}
function findSelfSelectors( $selectors ){
public function findSelfSelectors( $selectors ){
$selfElements = array();