Ben Alpert
8a6e2cde7f
Don't export (undefined) React in main.js
...
Previously, this was throwing an error. It was unintentionally (I assume) introduced in fc5bb9c .
Test Plan: jest
2014-06-19 11:34:50 -07:00
Paul O’Shannessy
324d41b5f0
Merge pull request #1244 from rayqian/master
...
add chinese translation support
2014-06-19 11:18:11 -07:00
Ben Alpert
b0dce1543a
Merge pull request #1721 from whatthejeff/patch-1
...
Fugbix typo.
2014-06-18 20:47:19 -07:00
Jeff Welch
27db8acaf9
Fugbix typo.
2014-06-18 23:36:37 -04:00
Paul O’Shannessy
92e3384cd2
Merge pull request #1513 from danielschonfeld/shouldcomponentupdate-boolean
...
Warn if shouldComponentUpdate returns anything other than true/false
2014-06-18 11:29:31 -07:00
Paul O’Shannessy
29083d0cec
Merge pull request #1713 from bmihelac/patch-1
...
Missing semicolon in TodoStore.js
2014-06-18 11:17:04 -07:00
Bojan Mihelac
84135bc605
Missing semicolon in TodoStore.js
2014-06-18 10:34:53 +02:00
Ben Alpert
121b290899
Clarify refs and setState callback documentation
2014-06-17 23:20:04 -07:00
Cheng Lou
3d696312ef
Merge pull request #1712 from mathieumg/master
...
Added example of objectOf usage in documentation.
2014-06-17 20:55:13 -07:00
Mathieu M-Gosselin
7fefab5946
Added example of objectOf usage in documentation.
2014-06-17 23:43:25 -04:00
Paul O’Shannessy
7f757347bc
Update many npm dependencies
...
Sauce/connect related things need some more work and I didn't want to
figure those out right now.
Fixes #1701
2014-06-17 14:21:24 -07:00
Paul O’Shannessy
8bbbe900a5
Sync out camelize module
...
For use in #1662
2014-06-17 09:27:59 -07:00
Ben Alpert
00037b3ec2
Fix tagtree.tv link
...
Fixes #1697 .
2014-06-16 13:56:36 -07:00
Paul O’Shannessy
08a207f401
Merge pull request #910 from andrewdavey/react-transform-source-map
...
Add sourceMap option to react-tools transform
2014-06-16 13:41:41 -07:00
Cheng Lou
20a50410a2
Merge pull request #1609 from spicyj/tlt-indirect
...
Remove unnecessary topLevelTypes indirection
2014-06-16 13:07:44 -07:00
Ben Alpert
52127dd7cf
Remove unnecessary topLevelTypes indirection
...
topLevelTypes is a key mirror, so dependency and topLevelType are always the same here.
2014-06-16 12:18:19 -07:00
Pete Hunt
c93583c84f
Remove bad perf metric
...
Remove a bad perf metric. Will investigate later.
2014-06-14 20:40:09 -07:00
Pete Hunt
e1c2d02fdd
Create ReactEventListener
...
Per our discussion friday, this creates ReactEventListener and renames variables to use the "handle"
nomenclature.
2014-06-14 20:38:45 -07:00
Marshall Roch
a6cd945d9f
Fix 'this' in static methods
...
binds static methods on the descriptor to the component's actual constructor, so that `foo.constructor.bar()` and `Foo.bar()` run with the same `this`.
2014-06-14 20:37:51 -07:00
Tim Yung
431155d2e2
Revert #1536
...
It's causing issues in product code. Reverting until it can be
investigated further.
2014-06-14 20:36:07 -07:00
Kunal Mehta
0f7423f31d
Merge pull request #1661 from spicyj/test-ie10-select-multiple
...
Fix select switching to multiple in IE
2014-06-13 14:24:50 -07:00
Cheng Lou
3eb36415bd
Merge pull request #1206 from brandonbloom/apply
...
$apply directive for update
2014-06-12 20:34:29 -07:00
Cheng Lou
4329d5ac38
Merge pull request #1611 from mathieumg/master
...
Added 'objectOf' PropType validator to iterate on objects and validate properties.
2014-06-12 20:19:33 -07:00
Brandon Bloom
86161c9c48
$apply command for update
2014-06-12 23:10:14 -04:00
Ben Alpert
7ab5769e18
Merge pull request #1687 from KyleAMathews/patch-2
...
typo fix
2014-06-12 16:29:19 -07:00
Kyle Mathews
cfdc884582
typo
2014-06-12 16:27:40 -07:00
Ben Alpert
5758f8da35
Merge pull request #1685 from randallsquared/patch-1
...
Fix correlation direction of wording in Ballmer Peak example.
2014-06-12 12:34:53 -07:00
Randall Randall
6d0e2feb52
Fix wording.
...
The Ballmer Peak XKCD suggests that it's a graph of ability, rather than bug frequency, which should be inversely correlated with ability. A simple change of the wording fixes this terrible mishandling of Ballmer Peak data.
2014-06-12 10:15:13 -04:00
Mathieu M-Gosselin
4852c30d62
Added 'objectOf' PropType validator to iterate on object literals and
...
validate properties.
2014-06-11 21:12:05 -04:00
Cheng Lou
303a719f92
Merge pull request #1658 from spicyj/test-ie10-submit-label
...
Fix submit-button value test in IE10
2014-06-11 13:44:27 -07:00
Cheng Lou
9eff32c80c
Merge pull request #1659 from spicyj/test-ie10-iframe
...
Fix EnterLeaveEventPlugin-test in IE10
2014-06-11 13:44:16 -07:00
Cheng Lou
92c174fec8
Merge pull request #1671 from gasi/fix-unset-style
...
Prevent null reference access when unsetting styles
2014-06-11 11:27:37 -07:00
Cheng Lou
36f2999d47
Merge pull request #1660 from spicyj/test-ie10-proptypesname
...
Fix PropTypes test in IE10
2014-06-11 10:34:28 -07:00
Ben Alpert
8e2dcceee3
Merge pull request #1597 from spicyj/defaultprops-autobind
...
Auto-bind before getDefaultProps
2014-06-11 10:14:31 -07:00
Ben Alpert
927eb570b9
Merge pull request #1631 from dblandin/master
...
Update link to @petehunt's react-server-rendering GitHub repo
2014-06-10 13:53:37 -07:00
Ben Alpert
e1e2fbdcf7
Merge pull request #1636 from harshadsabne/master
...
Update 2014-03-21-react-v0.10.md
2014-06-10 13:45:46 -07:00
Daniel Gasienica
7c2dec5bd3
Prevent null reference access when unsetting styles
2014-06-10 13:33:32 -07:00
Ben Alpert
2f61996ec3
[docs] Point to renderComponent over setProps
2014-06-08 13:04:40 -07:00
Ben Alpert
eaa68b8e6b
Fix select switching to multiple in IE
...
This one was an actual behavioral bug rather than a bug with the tests; our intention was that the first element from the `defaultValue` array would remain selected but IE seemed to be choosing the last one instead. Now we set the value for uncontrolled components in componentDidUpdate when switching from multiple to non-multiple to ensure that a consistent option gets selected.
Test Plan: Ran the ReactDOMSelect tests in jest, phantomjs, IE10, Chrome, and Firefox. Also tested an uncontrolled select manually to make sure that nothing crazy happened when switching between options.
2014-06-07 19:16:34 -07:00
Ben Alpert
7cd5e9b399
Fix PropTypes test in IE10
...
Test Plan: Ran the test in jest, phantomjs, IE10, Chrome, and Firefox.
2014-06-07 18:56:28 -07:00
Ben Alpert
5790a75622
Fix submit-button value test in IE10
...
Test Plan: Ran test in jest, phantomjs, IE10, Chrome, and Firefox.
2014-06-07 18:50:29 -07:00
Ben Alpert
e938116549
Fix EnterLeaveEventPlugin-test in IE10
...
Previously this was failing because iframeDocument.body wasn't properly initialized. Creating the document this way seems to work in all environments
Test Plan: Ran the test in jest, phantomjs, IE10, Chrome, and Firefox.
2014-06-07 18:45:32 -07:00
cpojer
eebcf9f888
Fix ExecutionEnvironment.canUseDOM for IE8.
2014-06-05 12:44:24 -07:00
Christoph Pojer
41ed67d222
Merge pull request #1638 from spicyj/getmodifierstate-2
...
Fix getEventModifierState, no allocations
2014-06-03 14:36:16 -07:00
Ben Alpert
e501238c10
Fix getEventModifierState, no allocations
...
Alternative to #1637 that doesn't allocate on every event.
Test Plan: Crossed fingers.
2014-06-03 14:35:29 -07:00
Harshad Sabne
7172b1d5da
Update 2014-03-21-react-v0.10.md
...
Fix link to React v0.10 RC
2014-06-03 21:35:49 +05:30
Pete Hunt
87bcbff218
Merge pull request #1632 from spicyj/img-load-error
...
Fix onLoad and onError on images
2014-05-30 17:04:41 -07:00
Ben Alpert
3e34739cb9
Fix onLoad and onError on images
...
Fixes bug introduced in c62c2c5 .
Test Plan: Tested that the onLoad event was properly triggered on an image. Didn't test onError but I can only assume that it works equally well.
2014-05-30 16:53:46 -07:00
Devon Blandin
d8a2f12498
Update link to @petehunt's react-server-rendering GitHub repo
2014-05-30 14:14:18 -05:00
Cheng Lou
6ce193614c
Merge pull request #1627 from Enome/master
...
Typo: ClosureScript -> ClojureScript in latest blog post
2014-05-29 16:20:42 -04:00