mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-06 20:11:38 +08:00
This updates Rollup, SVGO and clean-css. Only clean-css had reported breaking changes, but we are not affected (Node compatibility removals and changes to features we don't use). R=jacktfranklin@chromium.org Bug: none Change-Id: I94c293e128d1ddb81f12036421a715da210e7633 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3060704 Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org> Reviewed-by: Paul Lewis <aerotwist@chromium.org>
16 lines
364 B
JavaScript
16 lines
364 B
JavaScript
var sameVendorPrefixes = require('../../vendor-prefixes').same;
|
|
|
|
function understandable(validator, value1, value2, _position, isPaired) {
|
|
if (!sameVendorPrefixes(value1, value2)) {
|
|
return false;
|
|
}
|
|
|
|
if (isPaired && validator.isVariable(value1) !== validator.isVariable(value2)) {
|
|
return false;
|
|
}
|
|
|
|
return true;
|
|
}
|
|
|
|
module.exports = understandable;
|