Skip to content

Commit

Permalink
fix(swap-strategies): correct parameter name on with method
Browse files Browse the repository at this point in the history
  • Loading branch information
EisenbergEffect committed Feb 26, 2017
1 parent 7f96b42 commit bb6e09d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/swap-strategies.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export const SwapStrategies = {
},

// animate the next view at the same time the current view is removed
with(viewSlot, previousViews, callback) {
with(viewSlot, previous, callback) {
return (previous === undefined)
? callback()
: Promise.all([remove(viewSlot, previous), callback()]);
Expand Down

0 comments on commit bb6e09d

Please sign in to comment.