MDL-49518 libraries: Update lessphp to 1.7.0.3
This commit is contained in:
Regular → Executable
+4
-4
@@ -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();
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user