Skip to content
This repository has been archived by the owner on Jan 15, 2019. It is now read-only.

Commit

Permalink
Bump to 0.3.1
Browse files Browse the repository at this point in the history
Signed-off-by: Jarrod Payne <[email protected]>
  • Loading branch information
paynecodes committed Jun 9, 2014
1 parent 1f8ac02 commit c9bfac7
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 15 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "MarionetteTransition",
"description": "Make your dancing Marionette apps transition beautifully.",
"version": "0.3.0",
"version": "0.3.1",
"private": false,
"license": "MIT",
"main": [
Expand Down
2 changes: 1 addition & 1 deletion dist/MarionetteTransition.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
** MarionetteTransition v0.3.0
** MarionetteTransition v0.3.1
** Description: Make your dancing Marionette apps transition beautifully.
** Author: Jarrod Payne
** Company: Webotomy
Expand Down
14 changes: 3 additions & 11 deletions dist/amd/MarionetteTransition.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
/*
** MarionetteTransition v0.3.0
** MarionetteTransition v0.3.1
** Description: Make your dancing Marionette apps transition beautifully.
** Author: Jarrod Payne
** Company: Webotomy
** License: MIT
**
** Thanks to @jasonlaster and @jmeas for the help.
*/
*/

define(['jquery', 'underscore', 'backbone.marionette', 'TweenLite', 'CSSPlugin', 'animations/horizontalSlideToPosition'], function($, _, Marionette, TweenLite, CSSPlugin, horizontalSlideToPosition) {
'use strict';
Expand Down Expand Up @@ -248,15 +248,7 @@ define(['jquery', 'underscore', 'backbone.marionette', 'TweenLite', 'CSSPlugin',

function delay() {
/*jshint validthis:true */
if (_.isFunction(options.beforeAnimate)) {
$.when(options.beforeAnimate()).then(_.bind(function() {
_.delay(_.bind(transition, this), 50);
}, this));
} else {
$.when(options.beforeAnimate).then(_.bind(function() {
_.delay(_.bind(transition, this), 50);
}, this));
}
_.delay(_.bind(transition, this), 50);
}

// Don't worry too much about this mess.
Expand Down
2 changes: 1 addition & 1 deletion dist/amd/regions/Fade.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ define(['jquery', 'underscore', 'backbone.marionette', 'TweenLite', 'CSSPlugin',
return opacity(view.$el, _.extend(options, { 'opacity': '1' }));
},
exitAnimation: function(view, options) {
return opacity(view.$el, _.extend(options, { 'opacity': '0', duration: 0.2 }));
return opacity(view.$el, _.extend(options, { 'opacity': '0' }));
}
});

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "MarionetteTransition",
"description": "Make your dancing Marionette apps transition beautifully.",
"version": "0.3.0",
"version": "0.3.1",
"license": "MIT",
"repository": {
"type": "git",
Expand Down

0 comments on commit c9bfac7

Please sign in to comment.