Kyle Mathews
Kyle Mathews
no sw
Anyone used ect with Hapi before? https://github.com/hapijs/hapi/issues/1746
I'm building an isomorphic site using React.js and Velocity for some animations. I'm running into a problem however when rendering pages on the server, pages that require Velocity throw errors...
E.g. a mapping of `"geo.latitude": "latitude"` should result in an object like: ``` javascript { "geo": { "latitude": 45.01 } } ```
For setting background/foreground colors, it'd be nice if I could do something like: ``` javascript bgColor = "pink" textColor = chroma(bgColor).contrast(0.5, "darken").hex() ```
E.g. comparing two strings that are ~30 lines each takes ~40ms where ones that are ~3000 take 20+ seconds