Skip to content

Commit f8b680c

Browse files
committed
docs: Reference version is now Less.js 3.13, no longer 2.5
Bug: T288498 Change-Id: Ice32d53b5c8376b36a92b5d1e10a2ab782cda385
1 parent c28be8d commit f8b680c

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ This is a PHP port of the [official LESS processor](https://lesscss.org).
77

88
## About
99

10-
The code structure of Less.php mirrors that of upstream Less.js to ensure compatibility and help reduce maintenance. The port is currently compatible with Less.js 2.5.3. Please note that "inline JavaScript expressions" (via eval or backticks) are not supported.
10+
The code structure of Less.php mirrors that of upstream Less.js to ensure compatibility and help reduce maintenance. The port aims to be compatible with Less.js 3.13.1. Please note that "inline JavaScript expressions" (via eval or backticks) are not supported.
1111

1212
* [API § Caching](./API.md#caching), Less.php includes a file-based cache.
1313
* [API § Source maps](./API.md#source-maps), Less.php supports v3 sourcemaps.

test/compare.php

+6-3
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,17 @@
77
88
Options:
99
10-
fixtureDir Pass one of the /test/Fixtures/ directories.
10+
fixtureDir Pass one of the test/Fixtures/ directories.
1111
The compare tool will compile each file in the "less/"
1212
subdirectory, and compare it to an eponymous file in the
1313
"css/" subdirectory.
14+
Alternatively, pass one of the "less/" sub-sub directories
15+
directly and the corresponding "css/" directory will be found
16+
automatically.
1417
1518
- {{FIXTURE_DIR}}
1619
17-
Default: test/Fixtures/lessjs-2.5.3/
20+
Default: test/Fixtures/lessjs-3.13.1/less/_main/
1821
1922
--override By default, the compare tool validates the full upstream
2023
Less.js specification, as stored in the fixture's "css/"
@@ -59,7 +62,7 @@ public function cli( $args ) {
5962
}
6063

6164
$this->compare(
62-
$fixtureDir ?? __DIR__ . '/Fixtures/lessjs-2.5.3/',
65+
$fixtureDir ?? 'lessjs-3.13.1',
6366
$useOverride
6467
);
6568
}

0 commit comments

Comments
 (0)