picture.js 499 B

123456789101112131415161718
  1. /*!
  2. {
  3. "name": "picture Element",
  4. "property": "picture",
  5. "tags": ["elem"],
  6. "authors": ["Scott Jehl", "Mat Marquis"],
  7. "notes": [{
  8. "name": "WHATWG Spec",
  9. "href": "https://html.spec.whatwg.org/multipage/embedded-content.html#embedded-content"
  10. },{
  11. "name": "Relevant spec issue",
  12. "href": "https://github.com/ResponsiveImagesCG/picture-element/issues/87"
  13. }]
  14. }
  15. !*/
  16. define(['Modernizr'], function(Modernizr) {
  17. Modernizr.addTest('picture', 'HTMLPictureElement' in window);
  18. });