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:
parent
ef044e2c0d
commit
0db5439892
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue