mirror of
https://github.com/less/less.js.git
synced 2026-01-09 15:48:08 -05:00
Release v4.2.1 (#4287)
This commit is contained in:
5
dist/less.js
vendored
5
dist/less.js
vendored
@@ -9710,8 +9710,11 @@
|
|||||||
if (!(current instanceof Dimension)) {
|
if (!(current instanceof Dimension)) {
|
||||||
if (Array.isArray(args[i].value)) {
|
if (Array.isArray(args[i].value)) {
|
||||||
Array.prototype.push.apply(args, Array.prototype.slice.call(args[i].value));
|
Array.prototype.push.apply(args, Array.prototype.slice.call(args[i].value));
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
throw { type: 'Argument', message: 'incompatible types' };
|
||||||
}
|
}
|
||||||
continue;
|
|
||||||
}
|
}
|
||||||
currentUnified = current.unit.toString() === '' && unitClone !== undefined ? new Dimension(current.value, unitClone).unify() : current.unify();
|
currentUnified = current.unit.toString() === '' && unitClone !== undefined ? new Dimension(current.value, unitClone).unify() : current.unify();
|
||||||
unit = currentUnified.unit.toString() === '' && unitStatic !== undefined ? unitStatic : currentUnified.unit.toString();
|
unit = currentUnified.unit.toString() === '' && unitStatic !== undefined ? unitStatic : currentUnified.unit.toString();
|
||||||
|
|||||||
2
dist/less.min.js
vendored
2
dist/less.min.js
vendored
File diff suppressed because one or more lines are too long
2
dist/less.min.js.map
vendored
2
dist/less.min.js.map
vendored
File diff suppressed because one or more lines are too long
5
packages/less/dist/less.js
vendored
5
packages/less/dist/less.js
vendored
@@ -9710,8 +9710,11 @@
|
|||||||
if (!(current instanceof Dimension)) {
|
if (!(current instanceof Dimension)) {
|
||||||
if (Array.isArray(args[i].value)) {
|
if (Array.isArray(args[i].value)) {
|
||||||
Array.prototype.push.apply(args, Array.prototype.slice.call(args[i].value));
|
Array.prototype.push.apply(args, Array.prototype.slice.call(args[i].value));
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
throw { type: 'Argument', message: 'incompatible types' };
|
||||||
}
|
}
|
||||||
continue;
|
|
||||||
}
|
}
|
||||||
currentUnified = current.unit.toString() === '' && unitClone !== undefined ? new Dimension(current.value, unitClone).unify() : current.unify();
|
currentUnified = current.unit.toString() === '' && unitClone !== undefined ? new Dimension(current.value, unitClone).unify() : current.unify();
|
||||||
unit = currentUnified.unit.toString() === '' && unitStatic !== undefined ? unitStatic : currentUnified.unit.toString();
|
unit = currentUnified.unit.toString() === '' && unitStatic !== undefined ? unitStatic : currentUnified.unit.toString();
|
||||||
|
|||||||
2
packages/less/dist/less.min.js
vendored
2
packages/less/dist/less.min.js
vendored
File diff suppressed because one or more lines are too long
2
packages/less/dist/less.min.js.map
vendored
2
packages/less/dist/less.min.js.map
vendored
File diff suppressed because one or more lines are too long
@@ -1,6 +1,7 @@
|
|||||||
{
|
{
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"outDir": "./lib",
|
"outDir": "./lib",
|
||||||
|
"moduleResolution": "node",
|
||||||
"rootDir": ".",
|
"rootDir": ".",
|
||||||
"allowJs": true,
|
"allowJs": true,
|
||||||
"sourceMap": true,
|
"sourceMap": true,
|
||||||
|
|||||||
Reference in New Issue
Block a user