scottjehl / picturefill

A responsive image polyfill for <picture>, srcset, sizes, and more
http://scottjehl.github.com/picturefill/
MIT License
9.88k stars 1.07k forks source link

Typo in recommended usage section #668

Closed aparajita closed 8 years ago

aparajita commented 8 years ago

Reference: Getting Started

In the "Recommended Usage" section, the word "shiv" is used in the code sample and in the note below the code sample.

I think you mean "shim". "shiv" is a knife or razor used as a weapon. "shim" fills up a space to make parts fit.

mike-engel commented 8 years ago

@aparajita: Would you mind making a PR to fix this?

albell commented 8 years ago

@aparajita You're correct that the word "shiv" was originally a typo. John Resig made a funny all the way back in, um... 2002. Nowadays "shiv" is commonly used interchangeably with "shim", partly as a joke about sticking a knife in old browsers. See:

https://www.paulirish.com/2011/the-history-of-the-html5-shiv/

In other words, it passes the 'Google Search Test' with flying colors.