Permalink
Browse files

Improved deprecation warning

  • Loading branch information...
nvh committed Aug 16, 2016
1 parent ed0057e commit 24a3a060d05a473d18fb42262123bf4753205986
Showing with 1 addition and 1 deletion.
  1. +1 −1 framer/Layer.coffee
View
@@ -908,7 +908,7 @@ class exports.Layer extends BaseClass
#Support the old properties syntax
if properties.properties?
- # console.warn "Using Layer.animate with 'properties' key is deprecated: please use 'options' key to provide animation options instead"
+ # console.warn "Using Layer.animate with 'properties' key is deprecated: please provide properties directly and use the 'options' key to provide animation options instead"
options = properties
properties = options.properties
delete options.properties

0 comments on commit 24a3a06

Please sign in to comment.