##Quick changelog
git log staging..HEAD --no-merges --pretty=format:%s
View gist:2fbd988ff37226c40131cab00e3bf779
View zip.js
function zip() { | |
const [arr1, ...rest] = arguments | |
return arr1.map((e, i) => [e, ...rest.reduce((accum, arrN) => [...accum, arrN[i]], [])]) | |
} |
View dump-styles.js
//blah is a reference to the dom node in question, e.g. const blah = document.getElementById('popover882889') | |
Array.from(window.getMatchedCSSRules(blah)).reduce((acc, rule) => `${acc} \n ${rule.cssText}`) |