Permalink
Browse files

Handle undefined @options

  • Loading branch information...
nvh committed Jul 20, 2016
1 parent 066e6d8 commit e9e49d67418cdc5dcf0cb43985c8e75242b7a705
Showing with 1 addition and 1 deletion.
  1. +1 −1 framer/Animation.coffee
View
@@ -72,7 +72,7 @@ class exports.Animation extends BaseClass
@define "looping",
get: -> @options.looping
set: (value) ->
@options.looping = value
@options?.looping = value
if @options?.looping and @options?.layer? and !@isAnimating
@restart()

0 comments on commit e9e49d6

Please sign in to comment.