Files
react-native/Libraries
Zack a9846da9fa support plain numbers in add and multiply operators
Summary:This adds support for passing plain numbers into the add and multiply operators. This can be useful if you want to have one AnimatedValue for a component that is say a scale 0 -> 1 and then animated many style properties accordingly using derivative Animated values.

Thoughts?

As far as implementation, there may be more performant implementations that do not require creating a whole new AnimatedValue for every static number. I am open to suggestion.
Closes https://github.com/facebook/react-native/pull/6154

Differential Revision: D2979962

Pulled By: vjeux

fb-gh-sync-id: b5ecb568b4c64b995dc4100991f02c17f0dd97dd
shipit-source-id: b5ecb568b4c64b995dc4100991f02c17f0dd97dd
2016-02-25 17:16:09 -08:00
..
2015-07-24 08:41:58 -08:00
2016-01-30 17:11:28 -08:00
2016-01-08 15:42:32 -08:00
2016-02-10 08:40:39 -08:00
2016-02-11 02:45:34 -08:00
2016-02-12 12:58:31 -08:00
2016-02-05 16:45:46 -08:00
2015-07-24 08:41:58 -08:00
2016-02-17 07:38:33 -08:00
2016-02-11 02:45:34 -08:00