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 коммит произвёл Facebook Github Bot 7
Родитель ef044e2c0d
Коммит 0db5439892
1 изменённых файлов: 0 добавлений и 8 удалений

Просмотреть файл

@ -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;