yellowled/s9y-2k11 — Issue #37: Drop respond.js
Author: yellowled
Created: 2012-01-30 07:20:30+00:00
State: open
Labels: 2k11, js

At some point, we might want to drop respond.js. Here's why:

Modernizr no longer includes (or even _offers_ to include) respond.js in custom builds. That means it has to be loaded seperately to avoid "losing it" in a custom build or having to stick to an ancient version of Modernizr which still includes it. Currently, respond.js is loaded using Modernizr.load for browsers w/out media query support.

Long-term, it might be better to drop respond.js altogether and switch 2k11 to a non-mobile-first layout approach. (Oh dear. This could mean a heavy layout rewrite.) Since it's not exactly critical (we use Modernizr.load to load iOS Orientationchange Fix as well since it currently produces weird error messages in IE < 9), this is nothing which needs to be fixed any time soon, but it would definitely be better to lose repond.js and put iOS Orientationchange back in 2k11.js to save some HTTP requests.