Permalink
Switch branches/tags
Nothing to show
Commits on Jun 21, 2012
  1. Merge pull request #24 from lkrids/master

    Scott Jehl committed Jun 21, 2012
    undo moving a var declaration
Commits on Jun 20, 2012
  1. Merge pull request #21 from atlatl/master

    Scott Jehl committed Jun 20, 2012
    multiple images
  2. no newline

    atlatl committed Jun 20, 2012
  3. multiple files

    atlatl committed Jun 20, 2012
  4. multiple images fix

    atlatl committed Jun 20, 2012
  5. fix for multiple images

    atlatl committed Jun 20, 2012
  6. fixed some syntax errors that resulted in a merge.

    Scott Jehl committed Jun 20, 2012
  7. div branch becomes the new default

    Scott Jehl committed Jun 20, 2012
Commits on May 16, 2012
  1. Merge pull request #10 from grayghostvisuals/master

    Scott Jehl committed May 16, 2012
    Image Sizes noted on the images.
Commits on Apr 23, 2012
Commits on Mar 27, 2012
Commits on Mar 22, 2012
  1. This refactors the proposed markup (slightly) and picturefill JS to b…

    scottjehl committed Mar 22, 2012
    …roaden browser support. The included update to README.md explains the changes I'm proposing to the markup pattern (there no changes to elements themselves) to support browsers that formerly did not work, like iOS4, IE browsers versions 6-10, Android browsers 1.x and up. As a result, there aren't any known "unsupported" browsers, in that every browser tested so far at least receives a fallback image - for example, IE6-8 will only see picture source elements that do not use media queries, since it doesn't support them natively (media types are ok though). Fixes #5 and Fixes #8.
  2. added images to local directory

    scottjehl committed Mar 22, 2012
  3. fixed up the dom-or-load single call

    scottjehl committed Mar 22, 2012
  4. enable js strict mode

    scottjehl committed Mar 22, 2012
  5. Fixed a couple jshint whitespace warnings

    scottjehl committed Mar 22, 2012
  6. by binding to domready and load events (as a fallback), we can delive…

    scottjehl committed Mar 22, 2012
    …r IE 8 and older browsers with fallback content using any source elements that don't rely on media queries (note: media types are fine though). In order for this to work, the script needs to run from HEAD, like any HTML5 shiv would. Script still works in non-IE browsers if it's not in HEAD.
  7. fixed a typo - no !! should be there.

    scottjehl committed Mar 22, 2012
  8. fixed w.document reference

    scottjehl committed Mar 22, 2012
  9. comment change

    scottjehl committed Mar 22, 2012
  10. matchmedia and media query support should not be required for picture…

    scottjehl committed Mar 22, 2012
    …fill to run - source elements with no media attributes or media attributes specifying media types (but not queries) do not require media query support. For media attribute support in general (even in non-query supporting browsers), matchMedia polyfill is necessary, but this change ensures a non-media source element will load in JS environments. Fixes #9
  11. code style, whitespace, comments.

    scottjehl committed Mar 22, 2012
  12. demo link update - gh pages seems to be working now

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

    Scott Jehl committed Mar 16, 2012
    Corrected minimum stated width in comment for largest picture
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) …

    scottjehl committed Mar 15, 2012
    …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.
Commits on Feb 24, 2012
  1. Merge pull request #3 from gordonbrander/master

    Scott Jehl committed Feb 24, 2012
    Exit early if picture is natively supported.
Commits on Feb 22, 2012
  1. Removed Modernizr hooks

    gordonbrander committed Feb 22, 2012
  2. Exit early if picture is natively supported (totally hypothetical at …

    gordonbrander committed Feb 22, 2012
    …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.
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