Ben Alpert
774f5a022e
tutorial: Fetch data in componentDidMount instead
...
In a world where this component was server-rendered, we wouldn't want to call the data-fetching code there so it makes more sense to have it in componentDidMount.
2014-07-10 22:33:09 -07:00
Paul O’Shannessy
cd1adc5303
Merge pull request #1796 from enguerran/footer
...
fix the disappearing footer on the todomvc-flux sample
2014-07-10 20:41:25 -07:00
Paul O’Shannessy
55b7c387da
Update supported elements and properties [skip ci]
2014-07-10 20:04:37 -07:00
Paul O’Shannessy
d8aa1c3612
Update polyfills list in docs [skip ci]
...
Fixes #1744
2014-07-10 17:14:25 -07:00
Paul O’Shannessy
0d8aa8ff65
Update AUTHORS for 0.11 [ci skip]
2014-07-10 14:49:00 -07:00
Paul O’Shannessy
9e582661e3
Merge pull request #1802 from zpao/jsxtransformer-cleanup
...
Jsxtransformer cleanup
2014-07-09 13:28:49 -07:00
Paul O’Shannessy
31a025a667
Add docblocks and consistent styling to JSXTransformer
2014-07-09 12:51:46 -07:00
Paul O’Shannessy
61d495422d
Merge pull request #1801 from zpao/jsxtransformer-sourcemaps
...
Fix sourcemaps in JSXTransformer for Firefox
2014-07-09 12:49:31 -07:00
Paul O’Shannessy
336890291e
Fix sourcemaps in JSXTransformer for Firefox
...
Fixes #1725
2014-07-09 12:48:02 -07:00
Enguerran
0d481c69a5
another way to fix the footer that is not shown
2014-07-09 10:39:14 +02:00
Paul O’Shannessy
9d5ab297d2
Merge pull request #1784 from wvl/package-built-source-with-npm
...
Add the built source to npm package. See #1699
2014-07-08 19:22:53 -07:00
Paul O’Shannessy
897b423e0e
Merge pull request #1797 from spicyj/transition-group-names
...
Add displayName to ReactTransitionGroup + friends
2014-07-08 14:40:34 -07:00
Paul O’Shannessy
49c476e1e6
Merge pull request #1786 from zpao/react-tools-readme
...
Custom readme for react-tools
2014-07-08 14:20:36 -07:00
Ben Alpert
734a345257
Add displayName to ReactTransitionGroup + friends
...
Fixes facebook/react-devtools#42 .
Test Plan: Crossed fingers.
2014-07-08 12:18:46 -07:00
Enguerran
745082c0ac
fix the disappearing footer on the todomvc-flux sample
2014-07-08 11:59:07 +02:00
Paul O’Shannessy
785d2cabef
Merge pull request #1793 from monsanto/browserify-note
...
Add a note about production mode for npm installs.
2014-07-07 21:56:51 -07:00
Christopher Monsanto
39ac88595d
Remove mention of envify since it is listed in package.json
2014-07-07 15:00:47 -04:00
Anthony van der Hoorn
5c4e451054
Abstracted out common code into `innerTransform`
...
As per feedback brought common logic from both `transform` and `transformAsObject` into its own `innerTransform` function.
2014-07-06 16:23:50 -04:00
Christopher Monsanto
9ddb4d4a78
Add a note about production mode for npm installs.
2014-07-05 20:52:42 -04:00
Paul O’Shannessy
5c85f33184
Custom readme for react-tools
...
Of course this means I can no longer just npm publish from the project
root, but I haven't been anyway.
2014-07-03 17:39:33 -07:00
Wayne Larsen
c1c8ad8e53
Add the built source to npm package. See #1699
2014-07-03 18:21:22 -04:00
Cheng Lou
e10d10e31e
Merge pull request #1531 from spicyj/two-face
...
Give useful error when using two copies of React
2014-07-03 14:45:23 -07:00
Ben Alpert
70bf3e1306
Give useful error when using two copies of React
...
If we don't error here, we end up with a confusing error later on in this.getDOMNode() where ReactMount doesn't have the proper container registered in its object.
2014-07-03 14:20:31 -07:00
Andrew Zich
559eb89965
make invariant show formatted actual errors in all unminified environments
...
Because we can have !__DEV__ but unminified, we still want to see the
message in those cases.
2014-07-03 13:53:41 -07:00
Cheng Lou
e8e08127c5
Merge pull request #1461 from spicyj/no-esc-slash
...
Don't escape slash; it's unnecessary
2014-07-03 11:05:16 -07:00
Paul O’Shannessy
676aac13d0
Update npm dependencies [skip ci]
2014-07-03 09:57:12 -07:00
Anthony van der Hoorn
4ecde425f9
Update React-tools to support transform as object
...
This change adds an additional function to the exported object to support getting access to the transformed result as an object rather than just a string result - the separate function designed to maintain backwards compatibility.
This facilitates tools that want the code separate from the sourcemap or anything else as time goes by.
2014-07-03 08:20:55 -04:00
Paul O’Shannessy
12479d3d20
Merge pull request #1780 from jbrantly/issue-1292
...
Fixing grunt jsx task in Windows
2014-07-02 17:41:18 -07:00
Cheng Lou
7a27d43020
Merge pull request #1779 from spicyj/spell-gram
...
Fix spelling/grammar in test comment
2014-07-02 15:13:36 -07:00
jbrantly
9e60afdc31
Fixing grunt jsx task in Windows
...
Spawning node directly instead of relying on shebang in the jsx-internal script
Fixes #1292
2014-07-02 17:26:40 -04:00
Ben Alpert
c8d9957f68
Fix spelling/grammar in test comment
2014-07-02 14:09:38 -07:00
Ben Alpert
a02b6b3d7f
Clarify when getDefaultProps is called
...
Fixes #1778 .
2014-07-02 14:06:48 -07:00
Yuval Dekel
40b522c498
Give context for owners of compenent instantiations with propType errors
...
See modification to the test-file: Basically we add a small hint at the end
of the error warning for propType errors to help identify which instantiation
of the component at hand is faulty.
2014-07-02 12:47:26 -07:00
Paul O’Shannessy
17aef05d75
Stop running so many things in travis
...
We're not actively looking at most of these and they take up valuable
job time.
2014-07-01 18:11:34 -07:00
Paul O'Shannessy
a4e5327b76
Remove jest usage in ReactDescriptorTest
...
Until we're only using jest on github, we should stick with Jasmine spies. Soon, hopefully.
2014-06-30 20:55:19 -07:00
Paul O'Shannessy
022e44c95b
Cleanup ReactChildren
2014-06-30 20:55:09 -07:00
Guangqiang Dong
1aa9cc6a8b
add count() method to ReactChildren
...
added ReactChildren.count() to count the number of children, and a test case.
2014-06-30 20:54:57 -07:00
Paul O'Shannessy
5b17e75707
Support more properties for image maps
...
Supporting the `<area>` tag is pretty useless if we don't support the necessary properties.
2014-06-30 20:54:44 -07:00
Paul O’Shannessy
5eb57fa51b
Add support to JSX transform for <hyphenated-tags>
...
This only adds support for whitelisted tags, not arbitrary ones.
Closes #1539
2014-06-30 20:54:41 -07:00
Cheng Lou
3e5c606f3f
Merge pull request #1750 from protron/patch-1
...
Fix to sample code for href in ReactPropTypes
2014-06-30 17:14:58 -07:00
Paul O’Shannessy
dc8ec2fab1
Cache node_modules on Travis
...
This isn't actually enabled yet for public projects, but this will help
us speed up builds when it does get enabled.
http://docs.travis-ci.com/user/caching/
2014-06-30 14:19:24 -07:00
Ben Alpert
94fd726f86
Merge pull request #1767 from jgebhardt/fixlink
...
fix link in community roundup #18
2014-06-30 10:48:29 -07:00
Jonas Gebhardt
a8e273f844
fix link in community roundup #18
2014-06-30 10:41:42 -07:00
Ben Alpert
5a0eee3bb6
Merge pull request #1765 from chenglou/docs-tut-again
...
[Docs] Fix tutorial line highlights, revert ajax in cb
2014-06-30 01:02:29 -07:00
Cheng Lou
66d6e3f391
[Docs] Fix tutorial line highlights, revert ajax in cb
2014-06-30 01:01:48 -07:00
Cheng Lou
108efb4add
Merge pull request #1763 from chenglou/docs-tut
...
[Docs] Put tutorial up-to-date with the code
2014-06-29 21:50:42 -07:00
Cheng Lou
58a463f01c
[Docs] Put tutorial up-to-date with the code
2014-06-29 21:46:16 -07:00
Cheng Lou
546bf0ed74
Merge pull request #1760 from spicyj/docs-harmony
...
Add --harmony option to live JSX compiler page
2014-06-28 17:32:57 -07:00
Ben Alpert
ba67bf1b0d
Add --harmony option to live JSX compiler page
2014-06-28 17:29:30 -07:00
Mariano Desanze
bb1a31930b
Wrapped line to 80 chars in ReactPropTypes sample
2014-06-28 04:33:45 -03:00