Skip to content
Permalink
Browse files

Only setting option values if they are provided

  • Loading branch information
nvh committed Feb 15, 2017
1 parent 0b17a69 commit 2f2e5d38fa2e991d6f4b27ebcdb74685d5158e4c
Showing with 2 additions and 1 deletion.
  1. +2 −1 framer/Animators/Curves.coffee
@@ -5,7 +5,8 @@

Bezier = (values...) ->
(options = {}) ->
options.values = values
if values.length > 0
options.values = values
new BezierCurveAnimator(options)

# We define each in a seperate function here

0 comments on commit 2f2e5d3

Please sign in to comment.
You can’t perform that action at this time.