main
Last change
on this file was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 7 days ago |
F4 Finalna Verzija
|
-
Property mode
set to
100644
|
File size:
364 bytes
|
Rev | Line | |
---|
[79a0317] | 1 | var sameVendorPrefixes = require('../../vendor-prefixes').same;
|
---|
| 2 |
|
---|
| 3 | function understandable(validator, value1, value2, _position, isPaired) {
|
---|
| 4 | if (!sameVendorPrefixes(value1, value2)) {
|
---|
| 5 | return false;
|
---|
| 6 | }
|
---|
| 7 |
|
---|
| 8 | if (isPaired && validator.isVariable(value1) !== validator.isVariable(value2)) {
|
---|
| 9 | return false;
|
---|
| 10 | }
|
---|
| 11 |
|
---|
| 12 | return true;
|
---|
| 13 | }
|
---|
| 14 |
|
---|
| 15 | module.exports = understandable;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.