Aaron Franks
09cfe453b8
Add type signature info to top-level API docs.
2014-12-07 23:17:27 -08:00
Ben Alpert
b97bb21ea2
Merge pull request #2672 from cookfront/master
...
The same problem in issue #2648
2014-12-06 23:50:43 -08:00
cookfront
7fad8fddf1
The same problem in issue #2648
2014-12-07 15:42:51 +08:00
Cheng Lou
cfe97641ce
Merge pull request #2671 from benkeen/patch-1
...
Update 10.6-update.md
2014-12-06 20:12:21 -05:00
Benjamin Keen
2ee870e253
Update 10.6-update.md
...
Spelling fix.
2014-12-06 15:49:22 -08:00
Paul O’Shannessy
5c1589b81e
Merge pull request #2658 from ianobermiller/margin-attrs
...
Support marginHeight and marginWidth attributes
2014-12-04 19:02:34 -08:00
Paul O’Shannessy
dd844bffc0
Merge pull request #2489 from cody/form
...
Add Attributes formAction, formEncType, formMethod and formTarget
2014-12-04 19:01:32 -08:00
Ian Obermiller
9d7467e225
Don't need MUST_USE_ATTRIBUTE for margin(Width|Height)
2014-12-04 11:02:35 -08:00
Ian Obermiller
96bd155cbd
Support marginHeight and marginWidth attributes
...
marginHeight and marginWidth are used on iframes to set the default body margin inside the iframe.
2014-12-04 07:35:17 -08:00
Isaac Salier-Hellendag
0e1185cdbf
Merge pull request #2653 from salier/ie-selection
...
Use getSelection in IE where available
2014-12-03 14:19:49 -08:00
Isaac Salier-Hellendag
6b46e80bb9
Use getSelection in IE where available
...
IE9+ has support for window.getSelection, but we’re still using
document.selection for IE9/10. Only use the old IE selection API if the
modern one is unavailable.
2014-12-03 14:03:26 -08:00
Paul O’Shannessy
3144485cb9
Merge pull request #2635 from zpao/docs/props-state-clarification
...
[docs] Clarify when state may duplicate props
2014-12-03 11:24:21 -08:00
Paul O’Shannessy
b3cd299ed7
Merge pull request #2639 from zpao/own-jsfiddle
...
Own our fiddles so we can update them more easily
2014-12-03 11:24:08 -08:00
Paul O’Shannessy
b1971a7e27
Merge pull request #2649 from cookfront/master
...
In `Transferring Props` guide, `Manual Transfer` section will lead an er...
2014-12-03 11:13:40 -08:00
Paul O’Shannessy
a66430aec3
Merge pull request #2651 from arnihermann/use-charat-not-string-index-markup-diff
...
Use String.charAt to lookup string characters by index
2014-12-03 10:57:30 -08:00
Árni Hermann Reynisson
fdffec73c3
Use String.charAt for character by index lookup
...
Using object property accessor for string character lookup breaks in
non-modern browsers.
2014-12-03 14:49:55 +00:00
张敏
218a9ae74d
In `Transferring Props` guide, `Manual Transfer` section will lead an error
...
```c
var FancyCheckbox = React.createClass({
render: function() {
var fancyClass = this.props.checked ? 'FancyChecked' : 'FancyUnchecked';
return (
<div className={fancyClass} onClick={this.props.onClick}>
{this.props.children}
</div>
);
}
});
React.render(
<FancyCheckbox checked={true} onClick={console.log}>
Hello world!
</FancyCheckbox>,
document.body
);
```
When click `Hello world!` will lead a `Uncaught TypeError: Illegal invocation` error
2014-12-03 17:28:55 +08:00
Paul O’Shannessy
bd6b10887a
Remove unused require from ReactDOM-test
...
This happened internally in a codemod
2014-12-02 14:39:19 -08:00
Paul O’Shannessy
1bcf6ad77b
Merge pull request #2615 from af/createElement-docs
...
Add top-level API docs section for React.createElement.
2014-12-02 11:19:26 -08:00
Paul O’Shannessy
9021423be9
Merge pull request #2636 from zpao/docs/spread-assign-update
...
[docs] Remove generic spread, Object.assign mentions
2014-12-02 11:10:33 -08:00
Paul O’Shannessy
45bddda0f9
Merge pull request #2622 from rafd/patch-1
...
add note re: handling events in capture phase
2014-12-02 11:10:20 -08:00
Paul O’Shannessy
a76ffd56b7
Merge pull request #2623 from jbhatab/patch-1
...
Screencast interfacing react + backbone
2014-12-02 10:54:05 -08:00
Blaine Hatab
e1be9c0ad8
Screencast interfacing react + backbone
2014-12-02 10:49:16 -06:00
Paul O’Shannessy
2c2cac00f9
Own our fiddles so we can update them more easily
2014-12-01 19:33:43 -08:00
Paul O’Shannessy
e347e2975f
Merge pull request #2616 from christianalfoni/patch-3
...
Adding link to wiki
2014-12-01 16:03:16 -08:00
Paul O’Shannessy
fc91d2fd72
[docs] Remove generic spread, Object.assign mentions
2014-12-01 13:54:26 -08:00
Paul O’Shannessy
0a3a85bf52
[docs] Clarify when state may duplicate props
2014-12-01 13:46:59 -08:00
Rafal Dittwald
b3438c5f4b
Update ref-05-events.md
...
use backticks and change example into its own sentence
2014-12-01 15:36:01 -05:00
Paul O’Shannessy
4cc2993a01
Merge pull request #2633 from koba04/fix-addons-document
...
Fix addons documentation of development only part
2014-12-01 12:13:30 -08:00
Toru Kobayashi
a9115134b5
Fix addons documentation of development only part
2014-12-01 23:17:53 +09:00
Christopher Chedeau
f5a9ea8e03
Merge pull request #2629 from arnihermann/diff-msg-on-checksum-fail
...
Give context aware message if markup reuse fails
2014-12-01 10:16:40 +00:00
Árni Hermann Reynisson
a352b94f57
Give context aware message if markup reuse fails
...
The context is an extra message with comparison of where server and
client markup started to differ.
2014-12-01 10:15:07 +00:00
Paul O’Shannessy
5daffbb2c3
Merge pull request #2630 from shamrin/patch-1
...
fix typo in addons.update() $splice command help
2014-11-30 10:48:24 -08:00
Alexey Shamrin
92862ed601
fix typo in addons.update() $splice command help
2014-11-30 20:20:34 +03:00
Rafal Dittwald
4bc7c46c62
add note re: handling events in capture phase
2014-11-28 15:38:15 -05:00
Christian Alfoni
f09a39d963
Adding link to wiki
...
Based on conversation in https://github.com/facebook/react/pull/2501 . A good place to guide people further in finding the complete set of tools needed to build an application.
2014-11-27 08:48:16 +01:00
Aaron Franks
5e7e07b6d8
Add top-level API docs section for React.createElement.
2014-11-26 23:18:10 -08:00
Jim
5bd0b249b7
Merge pull request #2613 from jsfb/monitor-cloneWithProps
...
Monitoring code use of cloneWithProps
2014-11-26 16:37:00 -08:00
Jim
d42b285b0c
Monitoring code use of cloneWithProps
2014-11-26 16:29:09 -08:00
Paul O’Shannessy
bb97482729
Merge pull request #2610 from zpao/update-commonjs-example
...
Update commonjs example for 0.12
2014-11-26 13:08:24 -08:00
Paul O’Shannessy
e2dcc4a863
Update commonjs example for 0.12
2014-11-26 13:08:08 -08:00
Paul O’Shannessy
45a19a290c
Merge pull request #2553 from mhuggins/headers-attribute
...
Permit th `headers` attribute
2014-11-26 11:15:21 -08:00
Paul O’Shannessy
c48b877253
Merge pull request #2596 from sebmarkbage/rce
...
reactComponentExpect expects itself
2014-11-26 11:10:00 -08:00
Paul O’Shannessy
84e35615d2
Merge pull request #2600 from zpao/npm-test
...
Use jest for `npm test`
2014-11-26 11:09:39 -08:00
Jim
aee73cc463
Merge pull request #2602 from jsfb/context-tripple-equals
...
Warn if context values differ, related to issue #2
2014-11-25 16:52:09 -08:00
Jim
90d75ab099
Warn if context values differ, related to issue #2112
2014-11-25 16:44:09 -08:00
Paul O’Shannessy
b2ace55d9d
Merge pull request #2603 from facebook/revert-2601-rm-fbtransform-syntax
...
Revert "Remove fbtransform/syntax.js"
2014-11-25 16:43:46 -08:00
Paul O’Shannessy
f7f3df3acc
Revert "Remove fbtransform/syntax.js"
2014-11-25 16:42:20 -08:00
Paul O’Shannessy
ce699e4a32
Merge pull request #2601 from zpao/rm-fbtransform-syntax
...
Remove fbtransform/syntax.js
2014-11-25 15:42:13 -08:00
Jim
3a8fb5fc1e
Merge pull request #2597 from jsfb/render-into-document
...
Replaced document.createElement with ReactTestUtil
2014-11-25 15:35:26 -08:00