Skip to content

Commit

Permalink
Adds svg pattern and mask components
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon Beebe committed May 8, 2014
1 parent c50ad81 commit c50dbb0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/browser/ReactDOM.js
Original file line number Diff line number Diff line change
Expand Up @@ -184,17 +184,17 @@ var ReactDOM = mapObject({
g: false,
line: false,
linearGradient: false,
mask: false,
path: false,
pattern: false,
polygon: false,
polyline: false,
radialGradient: false,
rect: false,
stop: false,
svg: false,
text: false,
tspan: false,
mask: false,
pattern: false
tspan: false
}, createDOMComponentClass);

var injection = {
Expand Down
2 changes: 2 additions & 0 deletions vendor/fbtransform/transforms/xjs.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ var knownTags = {
map: true,
mark: true,
marquee: true,
mask: false,
menu: true,
menuitem: true,
meta: true,
Expand All @@ -106,6 +107,7 @@ var knownTags = {
p: true,
param: true,
path: true,
pattern: false,
polygon: true,
polyline: true,
pre: true,
Expand Down

0 comments on commit c50dbb0

Please sign in to comment.