Sign in
chromium
/
devtools
/
devtools-frontend
/
ec00a13ce62ddc9f5697a4e4d30dfcafaacd9fc2
/
.
/
node_modules
/
clean-css
/
lib
/
optimizer
/
level-2
/
properties
/
has-same-values.js
blob: 18815191041ed883be8a5b75d1d2bc320cbd5795 [
file
]
function
hasSameValues
(
property
)
{
var
firstValue
=
property
.
value
[
0
][
1
];
var
i
,
l
;
for
(
i
=
1
,
l
=
property
.
value
.
length
;
i
<
l
;
i
++)
{
if
(
property
.
value
[
i
][
1
]
!=
firstValue
)
{
return
false
;
}
}
return
true
;
}
module
.
exports
=
hasSameValues
;