Adam Pearce

Results 10 comments of Adam Pearce

@GoToLoop https://blocks.roadtolarissa.com/

Not sure if these are better, I just don't like writing out the whole object... `margin: {t: 5, r: 10, b: 15, l: 20}` `margin: [5, 10, 15, 20]`

Yeah! Probably don't need the whole thing, could just use this bit: ``` function snapPreview(cb){ var options = { screenSize: {width: 960, height: 500}, shotSize: {width: 960, height: 500}, renderDelay:...

You should check if the `#` is in a code block - this is `css` not a header: https://github.com/1wheel/graph-scroll/pull/19/files

Webpack is too heavy and confusing for me; I [hacked this](https://bl.ocks.org/1wheel/92d8c55e7abff93eaf2236b058440eef) together with [hot-server](https://github.com/1wheel/hot-server) to update code without a hard refresh. Making tweaks is way easier if you can see...

Might break on safari: > SVG elements and other non-HTML elements do not support the innerHTML property, and thus are incompatible with selection.html. Consider using XMLSerializer to convert a DOM...

Having correct line numbers would be nice, maybe something like: `str.replace('\n', ';').replace('\n', ';').replace('{;', '{')` or a more sophisticated regex?

Dynamically adding a script tag to the page would also fix.

awesome. quick assorted thoughts/notes of things to look into more: - not sure about the direction as the second arg; think previous index might be more generally useful (can do...

Flat array sounds right, this is what I'd use it for 90% of the time: ``` glob.sync(raceDir + "/**/*.json") .map(io.readFileSync) .forEach(d => { ... }) ```