Cam Song
9c7dc5f3b8
Add Chinese translation of js-spread
2014-12-12 09:33:01 +08:00
Paul O’Shannessy
80ed4d870a
Merge pull request #2690 from salier/before-input
...
Combine BeforeInput and Composition event plugins
2014-12-11 17:08:26 -08:00
Jim
df81c9916b
Merge pull request #2695 from jsfb/fix-scry2
...
Fixed ReactTestUtils scry for TextComponents. Fix
2014-12-11 16:54:55 -08:00
Jim
74f5b21758
Fixed ReactTestUtils scry for TextComponents. Fixes issue #2654 .
2014-12-11 13:12:35 -08:00
Paul O’Shannessy
91eb2e2f99
Merge pull request #2689 from camsong/master
...
Add Chinese translation of jsx-in-depth
2014-12-10 15:12:55 -08:00
Isaac Salier-Hellendag
9ad0e1d846
Update BeforeInputEventPlugin.js
2014-12-10 11:36:39 -05:00
Isaac Salier-Hellendag
ddaf215b03
Combine BeforeInput and Composition event plugins
...
In order to improve support for Chinese and Japanese IME input in
Internet Explorer, use a fallback composition state to determine
inserted text. IE composition events are mostly okay, except for
certain punctuation characters that are ignored. Using the fallback, we
can detect these characters.
The fallback is also useful for emitting `beforeInput` events, so it
makes sense to simply combine these plugins.
This change also incorporates a recent change to the Google Input Tools
browser extension that exposes a `data` field via the `detail` object
on the custom composition events it emits.
2014-12-10 11:32:53 -05:00
Cam Song
8621b4d338
Add Chinese translation of jsx-in-depth
2014-12-11 00:19:15 +08:00
Paul O’Shannessy
ed1803dc16
Merge pull request #2679 from tschaub/patch-1
...
Add missing verb in docs
2014-12-09 14:04:57 -08:00
Tim Schaub
877d00d9ba
Add missing verb
...
This adds a missing verb in JSX-in-depth doc.
2014-12-08 15:08:57 -08:00
Paul O’Shannessy
ba95ce7b6f
Merge pull request #2677 from zpao/lint-internal
...
Fix new lint errors
2014-12-08 12:22:06 -08:00
Paul O’Shannessy
739baa9092
Fix new lint errors
...
We'll get to lint parity soon and then not need to do this.
2014-12-08 12:18:41 -08:00
Aaron Franks
93ce334368
Add top-level API docs for React.createFactory.
2014-12-08 07:54:13 -08:00
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
Jason Webster
6846cce840
Add additional supported methods to event documentation
...
`isPropagationStopped` and `isDefaultPrevented` methods do in fact exist on `SyntheticEvent`
2014-12-05 01:19:08 -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
Jim
aef7c4d1a1
Added checks for incorrect usage of innerHTML. Fixes #1370
2014-12-01 11:10:52 -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