]> khamidou — GitHub mirrors - popcorn-js.git/commitdiff
Merge remote-tracking branch 'mbuttu/t516' into develop
authorJon Buckley <jon@jbuckley.ca>
Tue, 21 Jun 2011 14:31:10 +0000 (10:31 -0400)
committerJon Buckley <jon@jbuckley.ca>
Tue, 21 Jun 2011 14:31:10 +0000 (10:31 -0400)
Conflicts:
plugins/flickr/popcorn.flickr.js

1  2 
plugins/flickr/popcorn.flickr.js

index 908e39cbd8bd508a6914bf7468f0175968884131,e55545b638a872f5566db78154456fab68a903c2..2c14bc387a246bd45e93d8c5d9ffb6d95a73978b
          _uri,
          _link,
          _image,
-         _count   = options.numberofimages || 4 ,
-         _height  = options.height || "50px",
-         _width   = options.width || "50px",
+         _count = options.numberofimages || 4 ,
+         _height = options.height || "50px",
+         _width = options.width || "50px",
          _padding = options.padding || "5px",
-         _border  = options.border || "0px";
 -        _border = options.border || "0px",
 -        i;
++        _border = options.border || "0px";
  
      // create a new div this way anything in the target div is left intact
      // this is later populated with Flickr images
-     containerDiv               = document.createElement( "div" );
-     containerDiv.id            = "flickr" + idx;
-     containerDiv.style.width   = "100%";
-     containerDiv.style.height  = "100%";
+     containerDiv = document.createElement( "div" );
 -    containerDiv.id = "flickr" + i;
++    containerDiv.id = "flickr" + idx;
+     containerDiv.style.width = "100%";
+     containerDiv.style.height = "100%";
      containerDiv.style.display = "none";
 -    i++;
 +    idx++;
      
      // ensure the target container the user chose exists
      if ( document.getElementById( options.target ) ) {