(block)
| 15266 | } |
| 15267 | // todo: perhaps if needed in the future we can add more contextual params here |
| 15268 | _transformBlock(block) { |
| 15269 | this.particleTransformers.forEach(fn => { |
| 15270 | block = fn(block) |
| 15271 | }) |
| 15272 | return block |
| 15273 | } |
| 15274 | addTransformer(fn) { |
| 15275 | if (!this.particleTransformers) this.particleTransformers = [] |
| 15276 | this.particleTransformers.push(fn) |
no test coverage detected