code: function screenSize() {
          // Viewport width
          var iw = win.innerWidth || html.clientWidth,
              ow = win.outerWidth || win.screen.width;
          
          api.screen['innerWidth'] = iw;
          api.screen['outerWidth'] = ow;
          
  
          // START old code
          var w = win.outerWidth || html.clientWidth;
  
          // remove earlier widths
          html.className = html.className.replace(/ (w|lt|portrait|no-portrait|landscape|no-landscape)-\d+/g, "");
  
          // add new ones
          pushClass("w-" + Math.round(w / 100) * 100);
  
          each(conf.screens, function (width) {
              if (w <= width) {
                  pushClass("lt-" + width);
              }
          });
          // END old code
  
          // Viewport height
          var ih = win.innerHeight || html.clientHeight,
              oh = win.outerHeight || win.screen.height;
  
          api.screen['innerHeight'] = ih;
          api.screen['outerHeight'] = oh;
          
          // no need for onChange event to detect this
          api.feature("portrait" , (ih > iw));
          api.feature("landscape", (ih < iw));
      }
docs: screen resolution: w-100, lt-480, lt-1024 ...