Commit Graph
5233 Commits
Author SHA1 Message Date
Ben Alpert b98b6ea2ac Clean up files before automated codemod 2015-08-10 15:23:12 -07:00
Jared Forsyth 009b7c8ae1 adding __self and __source special props 2015-08-10 13:52:17 -07:00
Paul O’Shannessy 1e90de692e Merge pull request #4584 from jessebeach/jessebeach-reactComponentExpect-silent-fail
reactComponentExpect fails silently
2015-08-10 13:15:14 -07:00
Toru Kobayashi eb4e44a3c9 Fixed consistency of behavior boolean properties 2015-08-09 17:00:37 +09:00
Sebastian Markbåge 2f079359e8 Merge pull request #4588 from sebmarkbage/ownersforcontext
Add property key names + type of value to fragment warning
2015-08-08 15:11:22 -07:00
Sebastian Markbage 754ee176d0 Add property key names + type of value to fragment warning
This provides useful context in the logs to help us filter out things like
{__html:...}.
2015-08-07 20:01:03 -07:00
Ben Alpert f3440c0d6f Merge pull request #4581 from Youmoo/patch-1
Update 2015-05-01-graphql-introduction.md
2015-08-07 19:32:22 -07:00
Ben Alpert 5a7bd964b4 Minimal implementation of stateless components
Stateless pure-function components give us more opportunity to make performance optimizations. For now, we'll do a minimal implementation which has similar performance characteristics to other components in the interests of shipping 0.14 and allowing people to begin writing code using this pattern; in the future we can refactor to allocate less and avoid other unnecessary work.
2015-08-07 19:27:42 -07:00
Ben Alpert 3ec9f86573 Deduplicate logic in ReactElementValidator
Shouldn't be much change. Notably, this calls `.getName()` instead of trying to derive it manually, which is more consistent.
2015-08-07 18:53:42 -07:00
Ben Alpert b927110fb2 Merge pull request #4585 from spicyj/disable-path
Disable event.path handling
2015-08-07 13:41:11 -07:00
Ben Alpert 016a1907e1 Disable event.path handling
Looks like #4558 isn't ready yet and we'd like an interim fix.
2015-08-07 13:33:42 -07:00
J. Renée Beach 39c3fb2b09 reactComponentExpect fails silently
```reactComponentExpect``` fails silently when passed an undefined  value. It calls ```ReactTestUtils.isCompositeComponent``` with the undefined value, in which a ```render``` property is accessed, throwing a prop on undefined not found error which isn't surfaced to jest.

```
TypeError: Cannot read property 'render' of undefined
        at Object.ReactTestUtils.isCompositeComponent (./react/test/ReactTestUtils.js:127:23)
        at new reactComponentExpect (./react/test/reactComponentExpect.js:46:20)
        at reactComponentExpect (./react/test/reactComponentExpect.js:40:12)
```

Expecting the passed-in instance to not be undefined surfaces this issue in the test runner.
2015-08-07 11:21:45 -07:00
Sebastian Markbåge 7f119d41c7 Merge pull request #4554 from chernysh/chernysh-added-docs-img-events
Added documentation for <img> events
2015-08-07 11:07:24 -07:00
youmoo 0a19e0c0e5 Update 2015-05-01-graphql-introduction.md
Or the alternative:

`REST is an acronym for Representational State Transfer, which is an architectural style rather than a formal protocol`.

Sorry , I'am not a native speaker:)
2015-08-07 14:11:03 +08:00
Ben Alpert 6871ec2e29 Merge pull request #4580 from spicyj/gh-4578
Fix missing change event target in old IE
2015-08-06 15:24:02 -07:00
Ben Alpert 264bc2e7f2 Fix missing change event target in old IE
Events have `.srcElement` in old IE, not `.target`.

Fixes #4578.
2015-08-06 15:08:59 -07:00
Sebastian Markbåge 375734731d Merge pull request #4579 from sebmarkbage/ownersforcontext
Only set the owner during flattening
2015-08-06 13:04:56 -07:00
Sebastian Markbage 9fc2f8de26 Only set the owner during flattening
This used to do the update as well, which could have side-effects that
rely on owner being null.
2015-08-06 12:57:17 -07:00
Jim 13acbd2424 Merge pull request #4577 from marjan-georgiev/add-stopOpacity-to-unitless-props
Add stop-opacity to unitless style properties
2015-08-06 10:19:27 -07:00
Marjan 2b4d98fa52 Revert change to docs/js/reactj.js 2015-08-06 19:16:29 +02:00
Marjan 0d8c3f9cba Add stop-opacity to unitless style properties 2015-08-06 16:46:13 +02:00
Sebastian Markbåge 7ffff573ae Merge pull request #4569 from sebmarkbage/ownersforcontext
Set the owner during traverseAllChildren
2015-08-05 22:46:08 -07:00
Sebastian Markbage cd1ab32d2f Set the owner during traverseAllChildren
This is basically just adding some context to the warning in ReactFragment
so that we can more easily find the callers.
2015-08-05 21:04:52 -07:00
Ben Alpert f7b9545c15 Merge pull request #4559 from salier/ie-selection
Use onSelect fallback in IE
2015-08-05 20:35:24 -07:00
Ben Alpert bdfa948121 Fix lint 2015-08-05 20:34:48 -07:00
Paul O’Shannessy e64fc51984 Merge pull request #4565 from koba04/remove-fasttest
Remove fasttest task. fasttest is not fast
2015-08-05 14:40:41 -07:00
Toru Kobayashi 656c2ef173 Remove fasttest task. fasttest is not fast 2015-08-05 19:00:23 +09:00
Isaac Salier-Hellendag 2ff7512975 Use onSelect fallback in IE
In response to https://github.com/facebook/react/issues/2722. Use the Firefox selection change fallback for IE.
2015-08-04 17:36:34 -07:00
Vadim Chernysh 56e9d4aa4d Added events documentation for <img> elements 2015-08-04 15:27:56 +03:00
Jim c97ed7b804 Merge pull request #4552 from psibi/patch-1
Include Haskell language
2015-08-04 03:35:34 -07:00
Sibi 1c1cfe95ee Include Haskell language 2015-08-04 14:06:08 +05:30
Ben Alpert b4f40ba95f Merge pull request #4473 from facebook/devtools-blog-post
[docs] Add blog post about the new devtools beta
2015-08-03 15:13:33 -07:00
Jared Forsyth 1343cc0c9b Add blog post about the new devtools beta 2015-08-03 14:55:05 -07:00
Paul O’Shannessy 3f6bca7b16 0.14.0-beta3 v0.14.0-beta3 2015-08-03 14:24:24 -07:00
Paul O’Shannessy da8fc4e91b Merge pull request #4545 from salzhrani/patch-2
Update addons.js
2015-08-02 21:05:45 -07:00
Jim ff7996b58a Merge pull request #4381 from mikrofusion/clarify-main-ideas
clarify the two main ideas behind react.
2015-08-02 20:04:37 -07:00
Mike Groseclose 38818189a5 remove two ideas from why react to add clarity 2015-08-02 19:34:20 -07:00
Samy Al Zahrani 5f01a90954 Update addons.js 2015-08-02 16:12:34 +03:00
Jim 134e0700cd Merge pull request #4541 from marocchino/update-korean
Update Korean translation to e88c7bf
2015-08-01 10:43:11 -07:00
Scott Burch 1da2b29897 added suggested comment to get file to pass es-lint 2015-08-01 01:43:24 -07:00
Shim Won 28261783ed Update Korean translation to e88c7bf 2015-08-01 12:35:09 +09:00
Paul O’Shannessy e88c7bf495 Merge pull request #4539 from zpao/fix-encrypted-media-event
Listen to encrypted event, not onencrypted
2015-07-31 17:49:33 -07:00
Paul O’Shannessy b321925cfa Listen to encrypted event, not onencrypted 2015-07-31 17:08:57 -07:00
Scott Burch 0f1ecc3ae3 removed dangling comma that messes up loading in IE8 2015-07-31 16:36:04 -07:00
Christoph Pojer 2d239006c5 Merge pull request #4528 from cpojer/codemod-updates
Simplify react-codemod.
2015-07-31 10:33:12 -07:00
cpojer 2ae9921945 Simplify react-codemod. 2015-07-31 10:32:53 -07:00
Jim 50d73f9a13 Merge pull request #4537 from afhole/patch-1
Update 02.1-jsx-in-depth.md
2015-07-31 10:13:58 -07:00
Alastair Hole 72a1fd6ce5 Update 02.1-jsx-in-depth.md
'setup' is a noun, not a verb
2015-07-31 17:40:48 +01:00
Paul O’Shannessy 681bbb629f 0.14.0-beta2 v0.14.0-beta2 2015-07-30 21:29:09 -07:00
Paul O’Shannessy e9c53364e5 Update fbjs dependency 2015-07-30 21:28:11 -07:00