Fernando Correia
425fd2ca08
jQuery Mobile React Example
2014-01-12 17:04:42 -02:00
Paul O’Shannessy
59cba3e9f7
Add missing semicolon I missed in #865
2014-01-11 23:29:35 -08:00
Paul O’Shannessy
6ebb1cb3ee
Merge pull request #865 from jergason/link-to-docs-on-keys-warning
...
link to docs in unique key prop warning
2014-01-11 23:21:46 -08:00
Jamison Dance
972acb4581
link to docs in unique key prop warning
2014-01-11 22:17:06 -07:00
Paul O'Shannessy
2c335b0e57
Quieter devtools upsell
...
Check that we're not in a iframe before upselling.
2014-01-10 21:11:33 -08:00
Cheng Lou
d14ce00dc3
add React.PropTypes.any
...
add the ability for React propTypes to accept an `any` type: `someProp: React.PropTypes.any`.
This is more useful when combined with `.isRequired`, to enforce that _something_ is passed:
`someProp: React.PropTypes.any.isRequired`
2014-01-10 21:11:11 -08:00
Pete Hunt
d8a8f6a881
Upsell dev tools
...
People probably don't know these exist. Add some information about React
dev mode as well as a link to the developer tools when using Chrome.
2014-01-10 21:10:54 -08:00
Tim Yung
bcacd17f8b
Better LinkedValueMixin Warning
...
Input elements of type `checkbox`, `hidden`, or `radio` can have a `value` without `onChange`. Also, if the input is `disabled`, who cares that it doesn't have an `onChange`?
2014-01-10 21:10:01 -08:00
Tim Yung
f71dbab31a
Fix Undefined ownerDocument Fatal in IE8
...
This fixes a JS fatal in IE8 when `topLevelTarget.ownerDocument` is sometimes undefined.
2014-01-10 21:07:23 -08:00
Tim Yung
73d9d286ee
Fix EnterLeaveEventPlugin Test in jsdom
...
This is a follow-up to #803 .
In jsdom (used for internal testing), `<iframe>` does not properly create a default document. This makes the `EnterLeaveEventPlugin` tests work for jsdom, too.
Open source does not need this because it uses PhantomJS.
2014-01-10 21:04:39 -08:00
Paul O’Shannessy
49d6d2169d
Remove trailing whitespace
2014-01-10 21:04:39 -08:00
Pete Hunt
979ee27e2b
Merge pull request #862 from cpojer/docs-proptypes
...
Document PropTypes.renderable and PropTypes.component
2014-01-10 09:55:19 -08:00
cpojer
d73f80ecb2
Document PropTypes.renderable and PropTypes.component
2014-01-10 09:36:22 -08:00
Timothy Yung
338ce603f9
Merge pull request #797 from spicyj/should-update
...
Fix cases where owner warning is shown
2014-01-09 18:50:21 -08:00
cpojer
95cb79a93e
Remove CallbackRegistry
2014-01-09 16:58:48 -08:00
cpojer
b713c2c696
Add PropTypes.component to demand a single React component.
2014-01-09 16:58:47 -08:00
Ben Alpert
f5a48f1ff4
Fix cases where owner warning is shown
...
In b0431a5 I added the check in the wrong place which could cause the warning to be shown because of key changes rather than owner changes like the warning suggests.
2014-01-09 16:48:58 -08:00
Timothy Yung
f47238be41
Merge pull request #803 from spicyj/gh-788
...
Use proper window object for iframe in enter/leave
2014-01-09 16:35:07 -08:00
Timothy Yung
851f08bdc2
Merge pull request #780 from syranide/newhasevent
...
Further cleanup of isEventSupported
2014-01-09 16:34:57 -08:00
Timothy Yung
68bac7fbf0
Merge pull request #778 from syranide/flipwheel
...
Fix WheelEvent incorrectly flipping sign of deltaY
2014-01-09 16:34:47 -08:00
Timothy Yung
dea6063dc9
Merge pull request #771 from spicyj/gh-694
...
Don't get selection if no active element
2014-01-09 16:34:27 -08:00
cpojer
8dbc530d1c
Add --harmony option to jsx.
2014-01-09 15:21:48 -08:00
Paul O’Shannessy
1f5c8d21d8
Merge pull request #786 from spicyj/gh-781
...
Fix potential memory leak when unmounting
2014-01-09 13:08:07 -08:00
Timothy Yung
2c93cd0267
Merge pull request #640 from spicyj/immutable-props-2
...
Don't mutate passed-in props, take 2
2014-01-09 12:52:58 -08:00
Christopher Chedeau
e3e3b477d3
Merge pull request #850 from spicyj/docs-ref-unmount
...
Document return value of unmountComponentAtNode
2014-01-09 09:21:39 -08:00
Ben Alpert
87a95155be
Document return value of unmountComponentAtNode
2014-01-08 21:56:59 -08:00
Ben Alpert
2716f38861
Spy on purgeID instead of unmountIDFromEnvironment
2014-01-08 21:48:48 -08:00
Ben Alpert
e2f094614f
Fix potential memory leak when unmounting
...
Fixes #781 .
2014-01-08 21:43:52 -08:00
Paul O’Shannessy
09011493c5
Merge pull request #718 from syranide/npmenvify
...
Fix npm react having wrong version dependency for envify
2014-01-08 15:33:59 -08:00
Paul O’Shannessy
0c3628cd8d
Merge pull request #757 from spicyj/ng
...
Don't tack on EventPluginHub globally
2014-01-08 15:23:47 -08:00
Ben Alpert
1db788b62c
Don't tack on EventPluginHub globally
2014-01-08 15:20:05 -08:00
Christopher Chedeau
2052caf0cc
Merge pull request #846 from spicyj/docs-nomin
...
Remove two more react.min.js references
2014-01-08 11:45:25 -08:00
Ben Alpert
76a0a9cba7
Remove two more react.min.js references
2014-01-08 11:40:53 -08:00
Paul O’Shannessy
46f7163f62
Don't use the min build in getting started guide
2014-01-08 11:38:34 -08:00
Paul O’Shannessy
8d0885e0d8
Merge pull request #844 from xixixao/patch-1
...
Fix URL in displayName description
2014-01-08 11:24:55 -08:00
Michal Srb
b4f4f10478
Fix URL in displayName description
2014-01-08 14:55:27 +01:00
Paul O'Shannessy
23ab30ff87
Revert textContent
...
Reverts 309a88bcf6 because this is causing
issues internally. I'll try to get a repro soon.
2014-01-07 21:10:03 -08:00
Pete Hunt
b1597ab2d7
Warn for common forms misuse
2014-01-07 21:08:13 -08:00
Paul O’Shannessy
be42d94f12
Don't set max_line_length for *.md
2014-01-07 20:46:46 -08:00
Jeff Morrison
33fe8eebda
Merge pull request #799 from spicyj/display-name
...
Add display name in more cases
2014-01-07 12:58:23 -08:00
Ben Alpert
f0fdabae7b
Add display name in more cases
2014-01-07 09:36:47 -08:00
Ben Alpert
a2ecee5353
Use proper window object for iframe in enter/leave
...
Fixes #788 .
2014-01-07 08:36:42 -08:00
Ben Alpert
657602135c
Don't mutate passed-in props, take 2
2014-01-06 21:42:04 -08:00
Ben Newman
4f57515f91
Fix some odd spacing inconsistencies in ReactRenderDocument-test.
2014-01-06 21:13:25 -08:00
Sebastian Markbåge
59bd45d594
Merge pull request #772 from spicyj/gh-444
...
Set event type on enter/leave events
2014-01-06 20:10:26 -08:00
Sebastian Markbåge
c28e1f24df
Merge pull request #768 from spicyj/findcomponentroot-err
...
Remove sometimes-confusing console error
2014-01-06 18:57:18 -08:00
Tom Occhino
ba6c82a326
Merge pull request #829 from spicyj/transitiongroup-null-child
...
Make ReactTransitionGroup work with a null child
2014-01-06 18:40:35 -08:00
Timothy Yung
e23c06a60c
Merge pull request #773 from spicyj/select-event-ff
...
Check for selection on keyup instead of deferring
2014-01-06 18:40:20 -08:00
Pete Hunt
70a0746e9f
Fix react tests
2014-01-06 18:35:54 -08:00
Pete Hunt
1e980a146f
Fix bug in cloneWithProps()
2014-01-06 18:35:54 -08:00