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
This commit is contained in:
Sebastian Markbage 2016-04-13 17:10:27 -07:00 committed by Facebook Github Bot 7
parent ef044e2c0d
commit 0db5439892
1 changed files with 0 additions and 8 deletions

View File

@ -560,13 +560,6 @@ function Pattern(url, width, height, left, top) {
this._brush = [PATTERN, url, +left || 0, +top || 0, +width, +height]; 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 = { var ReactART = {
LinearGradient: LinearGradient, LinearGradient: LinearGradient,
RadialGradient: RadialGradient, RadialGradient: RadialGradient,
@ -578,7 +571,6 @@ var ReactART = {
ClippingRectangle: ClippingRectangle, ClippingRectangle: ClippingRectangle,
Shape: Shape, Shape: Shape,
Text: Text, Text: Text,
CSSBackgroundPattern: CSSBackgroundPattern
}; };
module.exports = ReactART; module.exports = ReactART;