source: imaps-frontend/node_modules/clean-css/lib/optimizer/level-2/properties/has-same-values.js@ 79a0317

main
Last change on this file since 79a0317 was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 4 days ago

F4 Finalna Verzija

  • Property mode set to 100644
File size: 271 bytes
Line 
1function 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
14module.exports = hasSameValues;
Note: See TracBrowser for help on using the repository browser.