Skip to content

Commit 0db5439

Browse files
sebmarkbageFacebook Github Bot 7
authored andcommitted
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
1 parent ef044e2 commit 0db5439

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

Libraries/ART/ReactNativeART.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -560,13 +560,6 @@ function Pattern(url, width, height, left, top) {
560560
this._brush = [PATTERN, url, +left || 0, +top || 0, +width, +height];
561561
}
562562

563-
// This doesn't work on iOS and is just a placeholder to get Spectrum running.
564-
// I will try to eliminate this dependency in Spectrum and remove it from
565-
// ReactART proper.
566-
function CSSBackgroundPattern() {
567-
return new Color('rgba(0,0,0,0)');
568-
}
569-
570563
var ReactART = {
571564
LinearGradient: LinearGradient,
572565
RadialGradient: RadialGradient,
@@ -578,7 +571,6 @@ var ReactART = {
578571
ClippingRectangle: ClippingRectangle,
579572
Shape: Shape,
580573
Text: Text,
581-
CSSBackgroundPattern: CSSBackgroundPattern
582574
};
583575

584576
module.exports = ReactART;

0 commit comments

Comments
 (0)