Ben Alpert
59d2420b05
Add clearer invariants to composite spec mixing
2014-04-06 21:16:38 -07:00
Ben Alpert
ec6da04f6a
Make MountReady more reusable, reduce allocations
...
Test Plan:
grunt test
2014-04-06 17:06:12 -07:00
petehunt
9a78db3457
Initial add
...
Add readme
remove gitignore
fix graphic
2014-04-04 18:47:33 -07:00
Daniel Lo Nigro
21de5c816f
ReactJS.NET blog post
...
Closes #1354 .
2014-04-04 13:23:24 -07:00
Ben Alpert
ed0ef164c0
Fix appearance of code blocks in lists
2014-04-04 12:55:43 -07: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
Paul O’Shannessy
0617696ae4
Merge pull request #1251 from davidxi/patch-1
...
Update jasmine-support.js
2014-04-03 18:41:59 -07:00
Ben Alpert
933dde9c6d
Batch updates caused by handlers in multiple roots
...
Fixes #1227 .
It seems rare that event handlers in two roots nested in the DOM will update the same component in the same tick, but if that happens, the updates should be batched together.
2014-04-03 17:41:04 -07:00
Paul O’Shannessy
ed6f8aea77
Merge pull request #1258 from fisherwebdev/master
...
TodoMVC Flux Example
2014-04-03 15:10:42 -07:00
Paul O’Shannessy
4f6800c2a4
Merge pull request #1306 from twobit/master
...
Add dx and dy attributes for SVG text
2014-04-03 15:05:44 -07:00
Paul O’Shannessy
00aa33446b
Merge pull request #1325 from venmo/add-scrolling-attribute
...
Add scrolling attribute for <iframe>
2014-04-03 09:56:07 -07:00
Paul O’Shannessy
079749bac6
Merge pull request #1338 from chenglou/tip-children
...
[Docs][Tips] Entry on this.props.children and tweak component ref entry
2014-04-03 09:30:53 -07:00
Paul O’Shannessy
0aba933911
Merge pull request #1313 from spicyj/ms-prefix
...
Support `ms` vendor prefix when generating markup
2014-04-03 09:25:41 -07:00
Ben Alpert
67ff4e5050
Add acknowledgement to Christopher Aue
2014-04-03 07:33:32 -07:00
Ben Alpert
2d66fc4518
Add callback to setProps docs
2014-04-02 15:01:50 -07:00
Sebastian Markbage
b44761135e
Remove toJSON
...
This was temporarily needed since clone on mount introduced a cyclic reference
in __DEV__. This reverts that change since we now have descriptors.
To avoid a problem where toJSON may collide.
2014-04-01 17:07:57 -07:00
Paul O’Shannessy
8ccb363a8e
Merge pull request #1308 from chenglou/pure
...
add `ReactComponentWithPureRenderMixin` to addons
2014-04-01 14:32:18 -07:00
Ben Alpert
e86f7671a0
Merge pull request #1345 from kmeht/referenceDoc
...
[docs] Amend "References to components" tip to mention descriptors.
2014-04-01 13:40:22 -07:00
Kunal Mehta
93a033a94f
Remove erroneous line about static methods.
2014-04-01 13:36:56 -07:00
Kunal Mehta
d236a0538d
Simplify comment.
2014-04-01 13:04:09 -07:00
Kunal Mehta
da27fb049a
[docs] Amend "References to components" tip to mention descriptors.
2014-04-01 11:42:15 -07:00
Paul O’Shannessy
c8fc3e38ab
Merge pull request #1329 from irae/transition-group-leftovers
...
Remove leftovers from ReactTransitionGroup rewrite
2014-04-01 10:16:53 -07:00
Paul O’Shannessy
a2ed61ee66
Update mailmap post 0.10 (see #1283 )
2014-04-01 09:30:08 -07:00
Cheng Lou
dc7242c786
[Docs][Tips] Entry on this.props.children and tweak component ref entry
...
Component ref entry wasn't registered in nav_tips.
2014-03-31 19:13:16 -07:00
Ben Alpert
f63d0fe2b4
Merge pull request #1336 from Daniel15/making-zpao-happy
...
[Docs] Consistent use of self-closing tags in layout
2014-03-30 22:43:15 -07:00
Daniel Lo Nigro
306209be9e
[Docs] Consistent use of self-closing tags in layout
2014-03-30 22:42:02 -07:00
Ben Newman
60d16be90b
Merge pull request #1330 from spicyj/clone-imm
...
Clone objects in immutable tests.
2014-03-30 19:25:56 -04:00
Ben Alpert
42e20a1488
Fix jshint warnings in grunt/
...
Fixes #1052 .
Test Plan:
jshint grunt
2014-03-30 16:09:08 -07:00
Cheng Lou
7cbbff01e7
Merge pull request #1334 from spicyj/non-numeric-top-level
...
Don't break on top-level non-numeric object keys
2014-03-30 14:03:18 -07:00
Ben Alpert
a89ed9b8dc
Don't break on top-level non-numeric object keys
...
Previously, this threw (in `__DEV__` only) in `ReactCurrentOwner.current.constructor.displayName` because `ReactCurrentOwner.current` is null:
```
React.renderComponent(<div>{{1: <div />, 2: <div />}}</div>, document.body);
```
2014-03-30 13:55:45 -07:00
Christopher Chedeau
f99123b882
Merge pull request #1332 from chenglou/linter
...
[Jshint] Allow Jasmine globals in *-test.js
2014-03-30 13:13:49 -07:00
Stephen Murphy
468007612f
Merge branch 'master' of github.com:facebook/react
2014-03-30 12:53:26 -07:00
Cheng Lou
09ca4a9c80
[Jshint] Allow Jasmine globals in *-test.js
...
Editors that inline lint use`.jshintrc and directly lint the open
*-test.js files. This makes those linters actually useful.
2014-03-30 12:52:49 -07:00
Ben Alpert
99e943dd13
Clone objects in immutable tests
...
Fixes #1314 , fixes #1328 .
Test Plan:
`grunt test`, `grunt test --debug` in Chrome and Firefox.
2014-03-29 17:01:23 -10:00
Irae
27ea2c7e51
Remove leftovers from ReactTransitionGroup rewrite
...
Looks like while rewriting @petehunt forgot to remove this block.
See: 9ac27cb551
This block used to contain the only `runNextTick` ocurrences in the whole project.
No tests broken after removal, no documentation affected.
2014-03-29 14:46:02 -07:00
Thomas Boyt
8a69b5bc98
Add scrolling attribute for <iframe>
2014-03-29 13:41:34 -04:00
Jordan W
08baa114cc
Make EventPluginUtils clear dispatchIDs and dispatchListeners
...
The other dispatch utils clear these out and I found a bug where they weren't being cleared out.
I'm thinking this should probably be done in the `SyntheticEvent` constructor but at least this way it's consistent. Also, I know no one else uses `executeDispatchesInOrderStopAtTrue` except the `ResponderEventPlugin`.
2014-03-29 01:17:20 -07:00
Christopher Chedeau
70a8c55023
Merge pull request #1288 from vjeux/server_docs
...
Add client/server mention in componentDid/WillMount documentation
2014-03-28 23:24:20 -07:00
Christopher Chedeau
98ef7abb1a
Merge pull request #1322 from spicyj/transformer-harmony
...
Add optional harmony support to browser transform
2014-03-28 23:22:17 -07:00
Ben Alpert
e6c93f9246
Add optional harmony support to browser transform
...
This mirrors the react-tools API; it doesn't include support (yet) for transforming `<script type="text/jsx">` blocks with the ES6 transforms, mostly because I don't have a good API in mind there.
Test Plan:
Ran
JSXTransformer.transform("var two = () => 2;", {harmony: true}).code
in Chrome's dev console and got back some ES5 code.
2014-03-28 18:26:20 -10:00
Cheng Lou
999b4cf1a8
Merge pull request #1318 from spicyj/existence
...
Fix spelling of 'existence'
2014-03-28 20:27:38 -07:00
Ben Alpert
4cb83566e0
Merge pull request #1320 from gasi/patch-2
...
Fix minor typo in `update` `$push` directive
2014-03-28 13:35:04 -10:00
Daniel Gasienica
5fc2ecbe92
Fix minor typo in update $push directive
2014-03-28 16:33:03 -07:00
Josh Duck
e5c8831f90
Formatting
...
An extra "`" snuck in there.
2014-03-28 14:26:05 -07:00
Ben Alpert
c0de6b51ff
Fix spelling of 'existence'
2014-03-28 10:44:03 -10:00
Paul O’Shannessy
a778bf2c51
[blog] The Road to 1.0
2014-03-28 13:38:28 -07:00
Paul O’Shannessy
7982ba0571
Merge pull request #1310 from plievone/patch-1
...
Fix hasOwnProperty check typo in mixStaticSpecIntoComponent
2014-03-28 13:09:14 -07:00
Isaac Salier-Hellendag
807e3dc423
BeforeInputEventPlugin: Support Opera <= 12
...
Add support for Opera <= 12 (Presto) in `BeforeInputEventPlugin`.
It turns out that Opera 12 has a `TextEvent` in `window`, but doesn't actually fire any input events. Even `input` apparently doesn't fire. Fall back to keypress handling in this case.
2014-03-28 12:33:10 -07:00
Sebastian Markbage
c40e06f728
First phase to true descriptors
...
This moves all convenience constructors to use frozen ReactDescriptors.
2014-03-28 12:32:53 -07:00
Tom Occhino
a91c9f38f8
Update CONTRIBUTING.md
...
Updating doc to point to the brand new CLA form at https://code.facebook.com/cla
2014-03-27 23:57:32 -07:00