Skip to content
This repository has been archived by the owner on Oct 21, 2022. It is now read-only.

Commit

Permalink
whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
scottjehl committed May 24, 2011
1 parent b7aeca2 commit 3b91346
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions responsiveimgs.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
doc.documentElement.className += " " + htmlClass;

//base tag support test (returns base tag for use if support test passes) creds: jQuery Mobile, hasJS
var base = (function(){
var base = (function(){
var backup,
baseAdded = false,
a = doc.createElement("a"),
Expand Down Expand Up @@ -62,7 +62,7 @@
})(),

//find and replace img elements
findrepsrc = function(){
findrepsrc = function(){
for( var i = 0, imgs = doc.getElementsByTagName( "img" ), il = imgs.length; i < il; i++){
var img = imgs[i],
src = img.getAttribute( "src" ),
Expand All @@ -75,10 +75,10 @@
},

//flag for whether loop has run already
complete = false,
complete = false,

//remove base if present, find/rep image srcs if wide enough (maybe make this happen at domready?)
readyCallback = function(){
readyCallback = function(){
if( complete ){ return; }
complete = true;

Expand Down

0 comments on commit 3b91346

Please sign in to comment.