Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Media Queries Polyfill

artibella edited this page · 2 revisions

Media queries polyfill is used to make media queries work cross-browser. It's called in the index.html in the following way:

yepnope({
  test : Modernizr.mq('(min-width: 0px)'),
  nope : ['js/libs/respond.min.js']
});

First, Modernizr is used to detect if media queries are supported, if not, yepnope (aka Modernizr loader) will be used to load the polyfill respond.js.

Something went wrong with that request. Please try again.