Skip to content

Commit

Permalink
v2.0.3 build
Browse files Browse the repository at this point in the history
  • Loading branch information
srobbin committed Dec 1, 2012
1 parent 2c5074a commit 1c95d4a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion build/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "jquery.backstretch",
"title": "Backstretch",
"description": "A simple jQuery plugin that allows you to add a dynamically-resized, slideshow-capable background image to any page or element.",
"version": "2.0.2",
"version": "2.0.3",
"homepage": "http://srobbin.com/jquery-plugins/backstretch/",
"author": {
"name": "Scott Robbin",
Expand Down
8 changes: 4 additions & 4 deletions jquery.backstretch.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Backstretch - v2.0.2 - 2012-11-27
/*! Backstretch - v2.0.3 - 2012-11-30
* http://srobbin.com/jquery-plugins/backstretch/
* Copyright (c) 2012 Scott Robbin; Licensed MIT */

Expand Down Expand Up @@ -225,9 +225,6 @@
// Save the ratio
$(this).data('ratio', imgWidth / imgHeight);

// Resize
self.resize();

// Show the image, then delete the old one
// "speed" option has been deprecated, but we want backwards compatibilty
$(this).fadeIn(self.options.speed || self.options.fade, function () {
Expand All @@ -241,6 +238,9 @@
// Trigger the event
self.$container.trigger(evt, self);
});

// Resize
self.resize();
})
.appendTo(self.$wrap);

Expand Down
4 changes: 2 additions & 2 deletions jquery.backstretch.min.js

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

0 comments on commit 1c95d4a

Please sign in to comment.