From 890c2193d0ba6cd27b0b8baf12be273e2305b097 Mon Sep 17 00:00:00 2001 From: Sebastian Markbage Date: Wed, 16 Sep 2015 01:14:04 -0700 Subject: [PATCH] Kill old transform propTypes/attributes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Summary: I can't find anywhere these are being used by the bridge / native views anymore. I don't think they work anymore. ART has a similar API but uses a different code path. We might as well clean this up. Makes it easier to reason about. @​public Reviewed By: @vjeux Differential Revision: D2445353 --- Libraries/StyleSheet/TransformPropTypes.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/Libraries/StyleSheet/TransformPropTypes.js b/Libraries/StyleSheet/TransformPropTypes.js index c5ea9cea3..7cd698057 100644 --- a/Libraries/StyleSheet/TransformPropTypes.js +++ b/Libraries/StyleSheet/TransformPropTypes.js @@ -29,13 +29,6 @@ var TransformPropTypes = { ]) ), transformMatrix: ReactPropTypes.arrayOf(ReactPropTypes.number), - - // DEPRECATED - rotation: ReactPropTypes.number, - scaleX: ReactPropTypes.number, - scaleY: ReactPropTypes.number, - translateX: ReactPropTypes.number, - translateY: ReactPropTypes.number, }; module.exports = TransformPropTypes;