(proj)
| 15 | } |
| 16 | |
| 17 | function cleanProject(proj) { |
| 18 | if (!proj) return; |
| 19 | delete proj._updated; |
| 20 | if (Array.isArray(proj.tiles)) proj.tiles = proj.tiles.map(removeTimestamp); |
| 21 | if (Array.isArray(proj.grids)) proj.grids = proj.grids.map(removeTimestamp); |
| 22 | } |
| 23 | |
| 24 | describe('Testing Project Functions (project.test.js)', function() { |
| 25 |