Skip to content

Commit

Permalink
5.0.2: Fix for E/P/O shorthands.
Browse files Browse the repository at this point in the history
Single-object syntax e/p/o shorthands weren’t working with sequences.
  • Loading branch information
julianshapiro committed Jan 5, 2015
1 parent c412909 commit 2fd2efb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions 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.1). (C) 2014 Julian Shapiro. MIT @license: en.wikipedia.org/wiki/MIT_License. Portions copyright Daniel Eden, Christian Pucci. */
/* 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. */

;(function (factory) {
/* CommonJS module. */
Expand Down Expand Up @@ -734,7 +734,8 @@ return function (global, window, document, undefined) {
options = {};

options[timing] = function() {
var elements = nextCall.elements.nodeType ? [ nextCall.elements ] : nextCall.elements;
var nextCallElements = nextCall.elements || nextCall.e;
var elements = nextCallElements.nodeType ? [ nextCallElements ] : nextCallElements;

callbackOriginal && callbackOriginal.call(elements, elements);
Velocity(currentCall);
Expand Down
Loading

0 comments on commit 2fd2efb

Please sign in to comment.