Commit Graph

1886 Commits

Author SHA1 Message Date
Cheng Lou 7eb33ef176 simplify mountImageIntoNode's way of putting markup in innerHTML
Instead of removing the node from the document before changing its innerHTML, just do it directly.
The comment seems to be outdated for years. http://jsperf.com/detach-while-setting-innerhtml
2014-02-20 16:54:43 -08:00
Cheng Lou 5545887a48 Allow rendering markup string without checksum and React ID
This fixes https://github.com/facebook/react/pull/994.
Also fixes https://github.com/facebook/react/issues/1079.
Server-rendering without ID/checksum now works. Also won't call didMount.
2014-02-20 16:54:20 -08:00
Paul O’Shannessy e29584b49b Update authors 2014-02-20 15:20:27 -08:00
Jeff Morrison c43b3f406c Merge pull request #1143 from jeffmo/npm_test
Add support for `npm test`
2014-02-20 13:15:09 -08:00
jeffmo a4d6796705 Add support for npm test 2014-02-20 13:10:05 -08:00
Ben Alpert 89d4d352e1 Tweak tutorial wording to be more accurate 2014-02-20 11:40:14 -08:00
Paul O’Shannessy f3c1383af9 Add context deprecation to changelog, reformat 2014-02-20 10:32:21 -08:00
Shaun Trennery c32e398a5c Addition of 'this.context' component breaking change
this.context on components is now reserved for internal use by React

closes #1141
2014-02-20 10:32:12 -08:00
Paul O’Shannessy 95edc396df version bump to 0.10.0-alpha 2014-02-19 22:53:29 -08:00
Paul O’Shannessy 26cd595a98 update changelog 2014-02-19 22:17:28 -08:00
Paul O’Shannessy 8840ee32f1 Updated Authors 2014-02-19 22:11:50 -08:00
Paul O’Shannessy bb729a5784 Merge pull request #1131 from spicyj/rel-notes-0.9-2
React v0.9 blog post
2014-02-19 21:47:29 -08:00
Paul O’Shannessy b99705f690 Merge branch 'joshduck-patch-1'
Closes #989
2014-02-19 18:10:20 -08:00
Paul O’Shannessy 7e7aa21e24 tweak object property warning. 2014-02-19 18:07:24 -08:00
Ben Alpert 01b68c0e76 React v0.9 blog post 2014-02-19 12:05:47 -08:00
Paul O’Shannessy e59daa8ed8 Add descriptions to package.jsons
Otherwise, npm just reads the first non-header of our readmes, which doesn't
match up accurately or cleanly (no markdown parsing).
2014-02-19 11:35:11 -08:00
Paul O’Shannessy 9b405fba24 Merge pull request #1135 from spicyj/testutils-docs
Update Simulate docs and reorg a little bit
2014-02-19 11:19:27 -08:00
Ben Alpert 99b80938af Update Simulate docs and reorg a little bit 2014-02-19 11:16:55 -08:00
Cheng Lou e13977c0c2 Merge pull request #939 from spicyj/simulate-synthetic
Simulate synthetic events using ReactTestUtils
2014-02-19 10:58:54 -08:00
Ben Alpert 42473b2df1 Merge pull request #1133 from martinandert/repo-owner-change
complementary-tools repo owner changed
2014-02-19 00:48:15 -08:00
martinandert 970ae44c1f complementary-tools repo owner changed 2014-02-19 09:34:33 +01:00
Ben Alpert a447d30a2e Rebuild simulators after injecting plugins 2014-02-19 00:28:34 -08:00
Ben Alpert 36e97bac21 Simulate synthetic events using ReactTestUtils
Most of the time this is what you want to do, so I've renamed what was Simulate to be SimulateNative.

Now Simulate.change does what you expect, so this fixes #517 and fixes #519.
2014-02-19 00:04:16 -08:00
Ben Alpert 9f9ee697f3 Simpler ReactTestUtils.simulateEventOnDOMComponent 2014-02-18 23:37:11 -08:00
Pete Hunt 58ffd39abf Merge pull request #1132 from petehunt/docs-clonewithprops
clone docs
2014-02-18 23:27:25 -08:00
petehunt 30faba394d clone docs 2014-02-18 23:26:51 -08:00
Pete Hunt 93e7778d5f Merge pull request #1112 from petehunt/testutils-addons
Add ReactTestUtils to addons
2014-02-18 22:58:30 -08:00
Pete Hunt b7836c4da6 Merge pull request #1059 from petehunt/rtg-docs
Document ReactCSSTransitionGroup
2014-02-18 22:58:15 -08:00
petehunt c2904b978e fix docs 2014-02-18 22:57:41 -08:00
petehunt 8122cadeb4 Add ReactTestUtils to addons 2014-02-18 22:54:24 -08:00
petehunt ea803c47ba docs fixes 2014-02-18 22:51:51 -08:00
petehunt 42c837e4dd remove child factories 2014-02-18 22:48:52 -08:00
petehunt cadd6cbb6c add ReactCSSTransitionGroup to addons and document it 2014-02-18 22:47:53 -08:00
Paul O’Shannessy c0660ea6e0 Merge pull request #1100 from plievone/mapchildren-docs
Fix docs for React.Children.map, .forEach, .only.
2014-02-18 21:43:30 -08:00
Paul O’Shannessy cb1f8247e5 Merge pull request #1130 from spicyj/if-attr-value
Don't break if no attribute value
2014-02-18 18:20:42 -08:00
Ben Alpert e0dbca1168 Don't break if no attribute value
Fixes the transformation of things like `<button disabled>`.
2014-02-18 18:10:46 -08:00
Paul O’Shannessy f81d16960c Merge pull request #1128 from spicyj/media-attrs
Add media element attributes
2014-02-18 18:04:43 -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
Paul O’Shannessy 792d8aca86 Merge pull request #1116 from spicyj/gh-1115
Add download and hrefLang attributes
2014-02-18 13:42:24 -08:00
Ben Alpert 112a20ce73 Add media element attributes
Fixes #1124.

I didn't add `volume` because it requires more complicated logic to control properly and I didn't add `paused` because to set it we need to call play() or pause() -- perhaps a mutation method is appropriate.
2014-02-18 12:30:14 -08:00
Paul O’Shannessy c79974db3a Merge pull request #1122 from spicyj/gh-1120
Strip calls to warning() in __DEV__
2014-02-17 19:44:53 -08:00
Ben Alpert 5795376961 Strip calls to warning() in __DEV__
Fixes #1120.
2014-02-17 19:01:45 -08:00
Pete Hunt 8ac5975ad8 Merge pull request #1106 from spicyj/gh-1105
Prevent error thrown when removing event target
2014-02-17 17:53:51 -08:00
Ben Alpert d8fd1af4a0 Pool ancestors list so event system is reentrant 2014-02-17 16:37:15 -08:00
Ben Newman f457df275d Merge pull request #1117 from andreypopp/envify-bump
Update envify to 1.2.0
2014-02-17 19:10:13 -05:00
Andrey Popp 39c9b539e9 Update envify to 1.2.0 2014-02-18 03:38:58 +04:00
Ben Alpert ae7e44ec84 Add download and hrefLang attributes
Fixes #1115.
2014-02-17 15:13:14 -08:00
Pete Hunt f73b894c37 Update complementary-tools.md 2014-02-17 10:42:09 -08:00
Pete Hunt 4642a70277 Update complementary-tools.md 2014-02-17 10:41:48 -08:00
Ben Alpert 2f0bb69708 Prevent error thrown when removing event target
Fixes #1105.
2014-02-17 10:33:34 -08:00