Skip to content

Commit

Permalink
removed an unused var or two, localized another.
Browse files Browse the repository at this point in the history
  • Loading branch information
scottjehl committed Jan 16, 2012
1 parent 1a4c25f commit dd8113e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion respond.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 1 addition & 3 deletions respond.src.js
Expand Up @@ -46,8 +46,6 @@ window.matchMedia = window.matchMedia || (function(doc, undefined){
//define vars
var doc = win.document,
docElem = doc.documentElement,
refNode = docElem.firstChild,
fakeBody = doc.body || doc.createElement( "body" ),
mediastyles = [],
rules = [],
appendedEls = [],
Expand Down Expand Up @@ -175,7 +173,7 @@ window.matchMedia = window.matchMedia || (function(doc, undefined){
div.style.cssText = "position:absolute;font-size:1em;width:1em";

if( !body ){
body = fakeUsed = fakeBody;
body = fakeUsed = doc.createElement( "body" );
}

body.appendChild( div );
Expand Down

0 comments on commit dd8113e

Please sign in to comment.