|
Last change
on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 12 days ago |
|
Fix frontend appearance
|
-
Property mode
set to
100644
|
|
File size:
271 bytes
|
| Line | |
|---|
| 1 | function hasSameValues(property) {
|
|---|
| 2 | var firstValue = property.value[0][1];
|
|---|
| 3 | var i, l;
|
|---|
| 4 |
|
|---|
| 5 | for (i = 1, l = property.value.length; i < l; i++) {
|
|---|
| 6 | if (property.value[i][1] != firstValue) {
|
|---|
| 7 | return false;
|
|---|
| 8 | }
|
|---|
| 9 | }
|
|---|
| 10 |
|
|---|
| 11 | return true;
|
|---|
| 12 | }
|
|---|
| 13 |
|
|---|
| 14 | module.exports = hasSameValues;
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.