Skip to content

Commit

Permalink
Rename Less_Tree_JavaScript references to be in camel-case consistently
Browse files Browse the repository at this point in the history
Change-Id: I016f2a70caf4cde194fe6c976f5261ffdeb75136
  • Loading branch information
Stefan Fröhlich authored and Krinkle committed Nov 20, 2023
1 parent 9671dd5 commit 1ee00be
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/Less/Parser.php
Original file line number Diff line number Diff line change
Expand Up @@ -1283,7 +1283,7 @@ public function parseUnicodeDescriptor() {
*
* `window.location.href`
*
* @return Less_Tree_Javascript|null
* @return Less_Tree_JavaScript|null
* @see less-2.5.3.js#parsers.entities.javascript
*/
private function parseEntitiesJavascript() {
Expand Down Expand Up @@ -1311,7 +1311,7 @@ private function parseEntitiesJavascript() {
$js = $this->MatchReg( '/\\G[^`]*`/' );
if ( $js ) {
$this->forget();
return new Less_Tree_Javascript( substr( $js[0], 0, -1 ), $index, $isEscaped );
return new Less_Tree_JavaScript( substr( $js[0], 0, -1 ), $index, $isEscaped );
}
$this->restore();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* @private
*/
class Less_Tree_Javascript extends Less_Tree {
class Less_Tree_JavaScript extends Less_Tree {

public $escaped;
public $expression;
Expand Down

0 comments on commit 1ee00be

Please sign in to comment.