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:
244 bytes
|
Rev | Line | |
---|
[79a0317] | 1 | function removeUnused(properties) {
|
---|
| 2 | for (var i = properties.length - 1; i >= 0; i--) {
|
---|
| 3 | var property = properties[i];
|
---|
| 4 |
|
---|
| 5 | if (property.unused) {
|
---|
| 6 | property.all.splice(property.position, 1);
|
---|
| 7 | }
|
---|
| 8 | }
|
---|
| 9 | }
|
---|
| 10 |
|
---|
| 11 | module.exports = removeUnused;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.