From 0db5439892cd7a52167a7eaf365b03dc240f32af Mon Sep 17 00:00:00 2001 From: Sebastian Markbage Date: Wed, 13 Apr 2016 17:10:27 -0700 Subject: [PATCH] Update the Spectrum downstream and add the new cloneWithProps dependency Reviewed By: aglemann Differential Revision: D3167482 fb-gh-sync-id: b8c9933e629b049b15f9ebaf885817086866893b fbshipit-source-id: b8c9933e629b049b15f9ebaf885817086866893b --- Libraries/ART/ReactNativeART.js | 8 -------- 1 file changed, 8 deletions(-) diff --git a/Libraries/ART/ReactNativeART.js b/Libraries/ART/ReactNativeART.js index 1182276f79..e4a543e328 100644 --- a/Libraries/ART/ReactNativeART.js +++ b/Libraries/ART/ReactNativeART.js @@ -560,13 +560,6 @@ function Pattern(url, width, height, left, top) { this._brush = [PATTERN, url, +left || 0, +top || 0, +width, +height]; } -// This doesn't work on iOS and is just a placeholder to get Spectrum running. -// I will try to eliminate this dependency in Spectrum and remove it from -// ReactART proper. -function CSSBackgroundPattern() { - return new Color('rgba(0,0,0,0)'); -} - var ReactART = { LinearGradient: LinearGradient, RadialGradient: RadialGradient, @@ -578,7 +571,6 @@ var ReactART = { ClippingRectangle: ClippingRectangle, Shape: Shape, Text: Text, - CSSBackgroundPattern: CSSBackgroundPattern }; module.exports = ReactART;