Skip to content

Commit

Permalink
5.0.3: Fix for e/p/o shorthands
Browse files Browse the repository at this point in the history
Closes #410.
  • Loading branch information
julianshapiro authored and Rycochet committed Aug 2, 2020
1 parent ea00abc commit 5fc2374
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
9 changes: 6 additions & 3 deletions packages/velocity/velocity.ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Velocity UI Pack
**********************/

/* VelocityJS.org UI Pack (5.0.2). (C) 2014 Julian Shapiro. MIT @license: en.wikipedia.org/wiki/MIT_License. Portions copyright Daniel Eden, Christian Pucci. */
/* VelocityJS.org UI Pack (5.0.3). (C) 2014 Julian Shapiro. MIT @license: en.wikipedia.org/wiki/MIT_License. Portions copyright Daniel Eden, Christian Pucci. */

;(function (factory) {
/* CommonJS module. */
Expand Down Expand Up @@ -729,8 +729,11 @@ return function (global, window, document, undefined) {
/* Parallel sequence calls (indicated via sequenceQueue:false) are triggered
in the previous call's begin callback. Otherwise, chained calls are normally triggered
in the previous call's complete callback. */
var timing = (currentCall.options && currentCall.options.sequenceQueue === false) ? "begin" : "complete",
callbackOriginal = nextCall.options && nextCall.options[timing],
var currentCallOptions = currentCall.options || currentCall.o,
nextCallOptions = nextCall.options || nextCall.o;

var timing = (currentCallOptions && currentCallOptions.sequenceQueue === false) ? "begin" : "complete",
callbackOriginal = nextCallOptions && nextCallOptions[timing],
options = {};

options[timing] = function() {
Expand Down
Loading

0 comments on commit 5fc2374

Please sign in to comment.