Jim
61f7a5613b
Removed unknown tag warning/whitelist.
2015-01-09 11:46:47 -08:00
Paul O’Shannessy
a3509e5b42
Fixing some newline-preserving issues
...
Done internally as part of
https://github.com/facebook/jstransform/commit/f9836a39126675fd37b40a3598c539b50a1ec69b
2014-11-05 10:36:22 -08:00
Paul O’Shannessy
1fd187b994
Merge pull request #2224 from zertosh/remove-esprima-fb-dep
...
Remove esprima-fb and use Syntax from jstransform
2014-11-04 14:38:09 -08:00
Andres Suarez
bf0a857a92
Remove esprima-fb and use Syntax from jstransform
2014-11-04 17:10:12 -05:00
Cheng Lou
eddbb0cfef
Use double quote for transformed displayName and data-*
...
JSX currently transforms everything to double quote except these two. This way, it's at least consistent and will satisfy half of the people who do put a strict quotation linting on their project.
Test: `jest`, check the double quoted transformed `data-bla="something"`.
2014-10-31 15:49:24 -04:00
Paul O’Shannessy
dcf415c2b9
BSD + PATENTS
2014-10-10 13:34:07 -07:00
Felix Gnass
5f56f4ac36
add picture to xjs.knownTags
2014-07-16 19:57:19 +02:00
Jon Beebe
c50dbb0ec1
Adds svg pattern and mask components
2014-05-08 07:16:28 -05:00
Sven Helmberger
8e0d17c756
Add tspan to JSX transform
2014-04-24 19:13:01 +02:00
Jeff Morrison
9c2b9b1eb6
Merge pull request #970 from syranide/jsxws
...
Normalize whitespace for transformed JSX code
2014-04-04 10:20:43 -07:00
Andreas Svensson
60d7a02d44
Normalize whitespace for transformed JSX code
2014-03-12 10:03:16 +01:00
Ben Alpert
42444f6bb9
Add polygon tag to transform
...
Fixes #1144 .
2014-02-27 12:32:24 -08:00
Paul O’Shannessy
8a47813baa
Update copyrights for 2014.
...
grep -rl 'Copyright 2013 Facebook' static_upstream | xargs perl -pi -w -e s/Copyright 2013 Facebook/Copyright 2013-2014 Facebook/g;'
Not going to check in a script to do this since it will just change every year.
Closes #1006
2014-02-18 17:06:43 -08:00
JeffMo
adcbf0806c
Sync out transforms from fb internal
2014-02-15 12:35:32 -08:00
Andreas Svensson
c16b5659a0
Implement stricter whitespace rules
2014-01-22 21:00:10 +01:00
Matt Harrison
c4d918aca0
Added support for 4 extra SVG tags: stop, defs, linearGradient, radialGradient
2014-01-05 11:17:04 +00:00
JeffMo
a4f8ad1bb0
Switch utility function calls -> namespaced calls
2013-10-31 13:45:16 -07:00
Ben Alpert
f69112cb3f
JSX: Respect original spacing and newlines better
...
Fixes #335 .
Now this JSX:
```
/** @jsx React.DOM */
var HelloMessage = React.createClass({
render: function() {
return <div>
Look!
<a href=
"http://www.facebook.com/ ">Facebook
</a>
</div>;
}
});
```
produces
```
/** @jsx React.DOM */
var HelloMessage = React.createClass({displayName: 'HelloMessage',
render: function() {
return React.DOM.div(null,
" Look! ",
React.DOM.a( {href:
"http://www.facebook.com/ "}, "Facebook "
)
);
}
});
```
rather than the less-desirable
```
/** @jsx React.DOM */
var HelloMessage = React.createClass({displayName: 'HelloMessage',
render: function() {
return React.DOM.div(null,
" Look! ", React.DOM.a( {href:"http://www.facebook.com/ "}, "Facebook " ),
);
}
});
```
2013-09-10 17:14:36 -07:00
JeffMo
2d048f1f34
Move to using jstransform and esprima-fb npm modules
2013-08-22 15:28:41 -07:00
Paul O’Shannessy
91562ba934
Sync JSX tags from upstream
...
This is the other part of fc5f7e0e85 . This
file isn't part of our sync process so needs to be done separately.
2013-07-08 12:51:11 -07:00
JeffMo
9c35189ad1
Add support for empty XJS expressions
2013-06-28 13:10:20 -07:00
Paul O’Shannessy
75897c2dcd
Initial public release
2013-05-29 12:54:02 -07:00