tikal-tech-radar-generator
Version:
A library that generates an interactive radar, inspired by http://thoughtworks.com/radar/
13 lines (9 loc) • 361 B
JavaScript
/**
* This file is transpiled using val-loader, which interpolates in the static
* data provided by the consumer of this library.
*/
module.exports = ({ data }) => ({ code: `
const { title, rings, blips, quadrants } = ${JSON.stringify(data)}
blips.forEach(blip => { blip.isNew = blip.isNew + '' })
module.exports = { title, rings, blips, quadrants }
` })