Permalink
Commits on Mar 16, 2012
  1. Merge pull request #6 from tnorthcutt/patch-1

    Corrected minimum stated width in comment for largest picture
    Scott Jehl committed Mar 16, 2012
  2. @tnorthcutt
Commits on Mar 15, 2012
  1. updated link to demo

    scottjehl committed Mar 15, 2012
  2. Merge remote branch 'origin/master'

    scottjehl committed Mar 15, 2012
  3. added noscript to the recommended markup pattern (for fallback only) …

    …and generated the child img element if it's not already present. With this tweak in place, the picture markup pattern supports non-js fallbacks, avoids prefetch, and enjoys all benefits of the proposed picture element functionality. Production ready, perhaps.
    scottjehl committed Mar 15, 2012
Commits on Feb 24, 2012
  1. Merge pull request #3 from gordonbrander/master

    Exit early if picture is natively supported.
    Scott Jehl committed Feb 24, 2012
Commits on Feb 22, 2012
  1. @gordonbrander

    Removed Modernizr hooks

    gordonbrander committed Feb 22, 2012
  2. @gordonbrander

    Exit early if picture is natively supported (totally hypothetical at …

    …this point). If Modernizr is available, add a test for picture to it (adds handy picture/no-picture classes to HTML element). Also uses Modernizr's mq shim if available. Both these enhancements do NOT REQUIRE Modernizr and take just a few lines to implement.
    gordonbrander committed Feb 22, 2012
Commits on Feb 21, 2012
  1. reused the existing var

    scottjehl committed Feb 21, 2012
  2. un-media'd sources should match without question

    scottjehl committed Feb 21, 2012
  3. all in.

    scottjehl committed Feb 21, 2012