Commit Graph
15395 Commits
Author SHA1 Message Date
Paul O’Shannessy 769e1cea03 Merge pull request #3337 from facebook/cpojer-patch-2
"Better" duck typing in reactComponentExpect
2015-03-09 13:45:50 -07:00
Paul O’Shannessy 8a3dd040a0 Merge pull request #3331 from zpao/null-frag-proptypes
Allow null and undefined values in non-frag object passed to PropTypes.node
2015-03-09 13:43:26 -07:00
Paul O’Shannessy 57bed796ef Merge pull request #3339 from gabelevi/patch-1
Update jstransform and esprima-fb dependencies
2015-03-09 13:19:41 -07:00
Jim ccb5ccd5a0 Merge pull request #3341 from rickbeerendonk/3338-documentation-issue
Add documentation about JSX and displayName.
2015-03-09 10:35:28 -07:00
Andres Suarez 9941095dc3 Update to derequire@^2.0.0 2015-03-08 23:43:47 -04:00
Ben Alpert 208b258519 Merge pull request #3343 from BinaryMuse/docs/bkt-add-contextmenu-event
Add onContextMenu to events doc
2015-03-07 20:27:57 -08:00
BinaryMuse 1aa9580484 Add onContextMenu to events doc 2015-03-07 20:22:10 -08:00
Rick Beerendonk 2184162e38 Add documentation about JSX and displayName.
The section that described how JSX transform handles displayName was lost in commit 9b1ee4de46

Fixes #3338
2015-03-07 19:01:58 +01:00
Gabe Levi ac5af1ec45 Update jstransform and esprima-fb dependencies 2015-03-06 18:31:29 -05:00
Ben Alpert b95ad296da Merge pull request #3336 from facebook/cpojer-patch-1
Fix documentation typo in ReactComponent
2015-03-06 10:07:45 -08:00
Christoph Pojer 8ce9e2b194 Update reactComponentExpect.js 2015-03-06 02:46:33 -08:00
Christoph Pojer 419038f846 Fix documentation typo in ReactComponent 2015-03-06 01:33:56 -08:00
Paul O’Shannessy 0e797dffe4 Allow null and undefined values in non-frag object passed to PropTypes.node 2015-03-05 17:56:50 -08:00
Jim c7c2e05c33 Merge pull request #2802 from jsfb/findDOMNode-in-docs
Updated docs examples/recommendations to use findDOMNode instead of getDOMNode
2015-03-05 16:51:13 -08:00
Jim 030fc752ba Updated docs examples/recommendations to use findDOMNode instead of getDOMNode 2015-03-05 16:42:43 -08:00
Ben Alpert 6dbef56da3 Merge pull request #3333 from ariabuckles/docs
[Docs] Add 'ing' to make "opening" and "closing" line up
2015-03-05 16:28:04 -08:00
Aria Buckles 7eb6f68e7c [Docs] Add 'ing' to make "opening" and "closing" line up
Test Plan:
None
2015-03-05 16:25:41 -08:00
Ben Alpert 6b7e4dc8e8 Add warning when using non-component element types
This should make debugging easier for people who missed callsites when fixing up their JSX/non-JSX usage.
2015-03-05 15:24:31 -08:00
Bartosz Kaszubowski a42dcf4f7b initialize dev variables in dev mode only 2015-03-05 21:20:48 +01:00
Jon Hester 65c4aeaa3a use warning module instead of console.debug 2015-03-05 18:53:12 +00:00
Darcy 6b593083ed check that console exists before warning
Console is undefined in earlier versions of IE when it is not open. This causes an uncaught exception, and breaks applications in these versions of IE when attempting to warn when the  console is closed.
Admittedly, console will usually be open when testing in development, but still React should not break the application when it is not.
2015-03-05 09:20:16 -05:00
Jon Hester a999ac1ac3 warn if IE8 is in compatibility mode 2015-03-05 13:48:28 +00:00
dmitry adb9b20f6d Bringing the code to one style. 2015-03-05 14:04:47 +02:00
Ian Obermiller 34f4a0e42d shallowEqual: bail if either argument is falsey
Also add some unit tests.
2015-03-04 22:16:51 -08:00
Paul O’Shannessy fa8961118a Merge pull request #3294 from zpao/jsxcompiler-linenumbers
[docs] show line numbers in online jsx compiler
2015-03-04 18:45:18 -08:00
Paul O’Shannessy bda845cf4c [docs] Fox Ryan's name: #3311 2015-03-04 12:32:41 -08:00
Christopher Chedeau 4485903d40 Update round-up 25
(cherry picked from commit 40336d8144)
2015-03-04 12:32:37 -08:00
Christopher Chedeau af400ab17b Merge pull request #3304 from facebook/matthewjohnston4-croundup-1
Community Roundup #25 blog post
2015-03-04 09:06:38 -08:00
Jim 71675bb400 Merge pull request #3305 from brafdlog/patch-1
There was a redundant word in the sentence
2015-03-03 14:04:05 -08:00
Paul O’Shannessy 811057aae2 Facebook, not FaceBook 2015-03-03 12:49:02 -08:00
Paul O’Shannessy a3642d3995 v0.13 rc blog post 2015-03-03 12:42:57 -08:00
brafdlog 457c8e397d There was a redundant word in the sentence 2015-03-03 22:03:53 +02:00
Paul O’Shannessy 2d46d589a1 v0.13.0-rc2 starter kit 2015-03-03 11:46:01 -08:00
Paul O’Shannessy 21b41480a5 v0.13.0-rc2 v0.13.0-rc2 2015-03-03 11:46:01 -08:00
Paul O’Shannessy 71e583844b Update bower release task
This makes it so we only delete some files during the buld process. We were
losing the LICENSE and PATENTS files.
2015-03-03 11:46:01 -08:00
Paul O’Shannessy e8ffb80586 [lint] fix errors from new test 2015-03-03 11:23:45 -08:00
Paul O’Shannessy e114988a2c Sync out another jsx transform test.
We added this test internally and it never got added here. We haven't broken it
with any transforms *yet* but it's still good to actually run all of our tests
here too.
2015-03-03 10:40:07 -08:00
Matthew Johnston a850603e1c Update 2015-03-03-community-roundup-25.md 2015-03-03 18:34:07 +00:00
Paul O’Shannessy 2e2d79758d Merge pull request #3264 from zpao/transform-jsx
XJS -> JSX
2015-03-03 10:33:08 -08:00
Matthew Johnston 2417b7f4de Update 2015-03-03-community-roundup-25.md 2015-03-03 18:31:45 +00:00
Matthew Johnston 49d5722467 Update 2015-03-03-community-roundup-25.md 2015-03-03 17:56:53 +00:00
Matthew Johnston e99ef894b8 Community Roundup #25 blog post 2015-03-03 14:20:41 +00:00
Paul O’Shannessy 272ae10b48 Merge pull request #3299 from sebmarkbage/fixwarningformats
Always use a static message formats
2015-03-02 13:19:01 -08:00
Sebastian Markbage a27c6d1690 Always use a static message formats
These are the only places that seems to be including environment specific
variables in the message format.

By ensuring that they're static, we make it easier to group logs by
format. I also ensure that I keep each addendum separate so that they can
be filtered/grouped separately.
2015-03-02 13:18:38 -08:00
Paul O’Shannessy 4bad1aacb6 Merge pull request #3275 from spicyj/gh-3222
Don't use undefined as parent name in key warning
2015-03-02 12:47:52 -08:00
Paul O’Shannessy 8fdf4bbffc Merge pull request #3276 from spicyj/gh-2978
Add regression test for scry order
2015-03-02 12:46:55 -08:00
Sebastian Markbåge ecc4ad569a Merge pull request #3266 from sebmarkbage/cloneelement
Add cloneElement Implementation
2015-03-02 12:15:20 -08:00
Sebastian Markbåge edddd57d28 Merge pull request #3293 from spicyj/gh-3286
ReactFragment counts as a node without warning
2015-03-02 12:10:50 -08:00
Jim f2c7d9ac81 Merge pull request #3284 from delftswa2014/bugfix/blog/https-urls
Fixed the http url in the blog pages
2015-03-02 11:20:10 -08:00
PNikray 3516f33ffd Modified the todo example.
Instead of only using the index to supress the warning it now uses the
text + index to also ensure object iteration order.
2015-03-02 19:49:42 +01:00