11-02-18
TIL
- to use
Array.prototype.some
andArray.prototype.every
, which will stop execution once the returned value istrue
orfalse
correspondingly
TIL
Array.prototype.some
and Array.prototype.every
, which will stop execution once the returned value is true
or false
correspondinglyTIL
TIL
-webkit-font-smoothing: antialiased
to fix the issue with FontAwesome icons being blurry if used as CSS pseudo backgroundTIL
TIL
TIL
text-decoration-skip-ink: auto
(supported by Chrome for now) to skip glyph descenders for text-decoration: underline
.TIL
TIL
badidea
into a page with an HSTS error will temporarily bypass the errorTIL
async/await
), you’ll need require('babel-polyfill')
prior to booting the app to make sure the polyfill is loaded before the generator is initialized. This will prevent the regeneratorRuntime is not defined
error.TIL