postcss / postcss-custom-properties

Use Custom Properties in CSS
https://postcss.github.io/postcss-custom-properties
MIT License
596 stars 77 forks source link

Not using object-assign #28

Closed hgl closed 9 years ago

MoOx commented 9 years ago

This allow a real copy, and prevent any mutability issue. What is the problem with that ? :)

hgl commented 9 years ago

I just thought it might be neater. Since we already loop over the object keys, the assigning step can be omitted, and no need to delete keys anymore.

This PR prevents mutability issues too.

MoOx commented 9 years ago

Cool. Thanks