remove-unused.js 244 B

1234567891011
  1. function removeUnused(properties) {
  2. for (var i = properties.length - 1; i >= 0; i--) {
  3. var property = properties[i];
  4. if (property.unused) {
  5. property.all.splice(property.position, 1);
  6. }
  7. }
  8. }
  9. module.exports = removeUnused;