Skip to content

Commit

Permalink
Prepare version 1.0.20
Browse files Browse the repository at this point in the history
  • Loading branch information
nnattawat committed Feb 13, 2016
1 parent d182f35 commit 354da21
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 10 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "flip",
"version": "1.0.19",
"version": "1.0.20",
"dependencies": {
"jquery": "~2.0"
},
Expand Down
8 changes: 3 additions & 5 deletions dist/jquery.flip.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! flip - v1.0.19 - 2016-01-04
/*! flip - v1.0.20 - 2016-02-14
* https://github.com/nnattawat/flip
* Copyright (c) 2016 Nattawat Nonsung; Licensed MIT */
(function( $ ) {
Expand Down Expand Up @@ -239,7 +239,7 @@
}
if (changeNeeded){
var faces = $(this).find($(this).data("front")).add($(this).data("back"), $(this));
var savedTrans = faces.css("transition");
var savedTrans = faces.css(["transition-property", "transition-timing-function", "transition-duration", "transition-delay"]);
faces.css({
transition: "none"
});
Expand All @@ -263,9 +263,7 @@
}
//Providing a nicely wrapped up callback because transform is essentially async
setTimeout(function(){
faces.css({
transition: savedTrans
});
faces.css(savedTrans);
callback.call(this);
}.bind(this),0);
}else{
Expand Down
4 changes: 2 additions & 2 deletions dist/jquery.flip.min.js

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

2 changes: 1 addition & 1 deletion dist/jquery.flip.min.js.map

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "flip",
"version": "1.0.19",
"version": "1.0.20",
"description": "jQuery Plugin - 3d Flip Content",
"keywords": [
"jquery-plugin"
Expand Down

0 comments on commit 354da21

Please sign in to comment.