Paul O’Shannessy
0387f45733
Merge pull request #6191 from strawbrary/edit-on-github-position
...
[docs] keep position of "Edit on GitHub" link fixed
2016-03-23 12:24:16 -07:00
Paul O’Shannessy
b5ad474669
Merge pull request #6242 from edvinerikson/add-origin-to-css-warnings
...
added component name to css property warnings
2016-03-23 12:12:51 -07:00
Dan Abramov
fe73518642
Add missing set -e to Travis builds
...
Fixes #6150 , corrects a mistake made in 6e9b0ac2ab
2016-03-23 18:59:59 +00:00
Dan Abramov
c1e71f0121
Merge pull request #6310 from gaearon/setstate-warning
...
Add more specific error messages for bad callback in setState, replaceState, and ReactDOM.render
2016-03-23 14:50:36 +00:00
Jim
5a952a244f
Merge pull request #6257 from terry3/highlight-not-working
...
Highlight 'NOT' word in example page.
2016-03-22 22:54:48 -07:00
terry3 and TengfeiGuo
e10cb841cf
Highlight 'NOT' word in example page.
2016-03-23 09:19:58 +08:00
Jim
837a41b4ba
Merge pull request #6307 from cbrwizard/getEventCharCode_unit_tests
...
getEventCharCode unit tests
2016-03-21 16:17:06 -07:00
Dan Abramov
9e359e4ef3
Change message format to be more consistent with other errors
2016-03-21 23:13:47 +00:00
Dan Abramov
8248e5db60
Add bad callback invariants to ReactDOM.render() calls
2016-03-21 22:33:15 +00:00
Paul O’Shannessy
d4d37083e5
Merge pull request #6313 from jimfb/script-integrity-attribute
...
Removed script security attributes, since fb.me isn't setting the proper headers.
2016-03-21 15:19:16 -07:00
Jim and jim
cb697a6cbc
Removed script security attributes, since fb.me isn't setting the proper headers.
2016-03-21 15:06:08 -07:00
Paul O’Shannessy
a77487ca1a
Merge pull request #6312 from vjeux/fix_docs_jump
...
[website] Fix jump on the header
2016-03-21 14:44:57 -07:00
Dan Abramov
537aa0fb1f
Use specific method names in error messages
2016-03-21 21:40:17 +00:00
Dan Abramov
bc6b30e212
Make setState() callback error message more descriptive
...
Fixes #6306
2016-03-21 21:24:19 +00:00
Christopher Chedeau
dd04a2af81
[website] Fix jump on the header
...
Algolia adds two inline styles
```css
position: relative;
vertical-align: top;
```
to the element once the script inserted at the end of the page runs which super slightly moves the header. The fix is to always apply those two rules this way it doesn't jump. I did not notice it on my machine because it doesn't move when custom fonts are not being used.
Test Plan:
- Open two tabs: reactjs.com and localhost:4000/react
- Click around on reactjs.com to prime the cache with the fonts
- Switch tabs and click around on localhost (but do not force refresh!)
- Now you get custom fonts loaded locally and it doesn't jump when you change tabs
2016-03-21 14:12:20 -07:00
Paul O’Shannessy
9928648c09
Merge pull request #6303 from qerub/use-loose-envify
...
Use loose-envify instead of envify
2016-03-21 12:24:46 -07:00
Christoffer Sawicki
35380f616b
Use loose-envify instead of envify
...
This reduces the number of transitive dependencies and decreases the build time (by ~6% on my machine).
2016-03-21 20:18:17 +01:00
Paul O’Shannessy
d55863fd39
Merge pull request #6309 from victor-homyakov/patch-1
...
Free memory allocated by testElement after usage
2016-03-21 12:16:16 -07:00
Victor Homyakov
42a8cf675b
Free memory allocated by testElement after usage
...
IE11 reports `testElement` as detached DOM node consuming memory. It is captured in closure of `setInnerHTML` function and could be safely cleared after feature test.
2016-03-21 14:07:26 +03:00
cbrwizard
4d3f517d79
getEventCharCode unit tests
...
Adds unit tests to getEventCharCode.
2016-03-21 12:56:45 +03:00
Dan Abramov
c241b62ca4
Merge pull request #6301 from gaearon/remove-dead-export
...
Remove unused export from DOMChildrenOperations
2016-03-20 00:41:29 +00:00
Dan Abramov
8a47ac6d96
Remove unused export from DOMChildrenOperations
2016-03-19 21:05:05 +00:00
Jim
6d780ad4f1
Merge pull request #6281 from rgarifullin/microfix_docs
...
Microfix docs
2016-03-19 11:24:27 -07:00
Dan Abramov
d4c36a4590
Merge pull request #6289 from gaearon/strip-circular-refs
...
Strip complex values from ReactPerf.printDOM() output
2016-03-18 22:24:18 +00:00
Dan Abramov
6e9b0ac2ab
Try disabling coverage on master to prevent Travis crashes
...
We suspect that memory overhead caused by coverage might be the reason Travis fails on master. No guarantees it will work but worth a try.
2016-03-18 00:14:25 +00:00
Dan Abramov
aefc64350a
Strip complex values from ReactPerf.printDOM() output
...
Fixes #6288
2016-03-17 21:23:43 +00:00
Dan Abramov
29241883db
Merge pull request #6287 from gaearon/rename-perf-methods
...
Rename ReactPerf methods to match the upcoming ReactPerf revamp
2016-03-17 20:47:02 +00:00
Dan Abramov
3cb4118950
Rename ReactPerf methods to match the upcoming ReactPerf revamp
2016-03-17 20:18:42 +00:00
rgarifullin
e8f53e3174
Add missing semicolon in test-utils part of docs
2016-03-17 22:51:11 +03:00
Dan Abramov
bbde0a9887
Merge pull request #6285 from gaearon/no-addons
...
Remove react/addons
2016-03-17 19:26:03 +00:00
Dan Abramov
91d15b6dd0
Fix the ReactDefaultPerf test to match changes in #6286
2016-03-17 19:23:21 +00:00
Dan Abramov
8bd05fd73a
Merge pull request #6286 from gaearon/opaque-perf-measurements
...
Make ReactPerf.getLastMeasurements() opaque
2016-03-17 19:12:07 +00:00
Dan Abramov
7044af8f69
Make ReactPerf measurements opaque
...
We intend to change the measurement format significantly in #6046 . In order to introduce the new ReactPerf during 15.x release cycle, we are making the measurement structure opaque-ish in 15.0.
2016-03-17 18:48:55 +00:00
Dan Abramov
22cb8670ea
Remove react/addons
2016-03-17 18:18:04 +00:00
Jim
0e3e6fe339
Merge pull request #6273 from cbrwizard/getEventKey_tests
...
getEventKey unit tests
2016-03-17 10:38:16 -07:00
Dan Abramov
2a6ce4a4bc
Merge pull request #6276 from gaearon/fix-custom-components
...
Skip all special props when setting attributes on web components
2016-03-17 15:44:40 +00:00
Dan Abramov
ddae800c7f
Add v15 RC2 download
2016-03-16 22:22:47 +00:00
Dan Abramov
c921f1dad0
Add v15 RC2 blog post
2016-03-16 21:48:24 +00:00
Dan Abramov
cfbbca12c1
v15.0.0-rc.2
2016-03-16 21:21:34 +00:00
Dan Abramov
02cf175538
Skip all special props when setting attributes on web components
2016-03-16 21:10:47 +00:00
Dan Abramov
cf6b9f8a4e
Merge pull request #6274 from facebook/revert-6226-PR-5202
...
Revert "Bug fix for issue 5202"
2016-03-16 20:51:07 +00:00
Dan Abramov
ad99eefa40
Revert "Bug fix for issue 5202"
2016-03-16 20:42:28 +00:00
cbrwizard
675326a813
getEventKey unit tests
...
Adds unit tests to getEventKey function.
2016-03-16 22:09:41 +03:00
Jim
375134f9a1
Merge pull request #6270 from rofrischmann/unitless-css-property
...
added several new unitless properties
2016-03-16 11:21:41 -07:00
Jim
8b2471688f
Merge pull request #6226 from antoaravinth/PR-5202
...
Bug fix for issue 5202
2016-03-16 09:48:01 -07:00
Dan Abramov
da571e7619
Merge pull request #6267 from gaearon/svg-whitelist
...
Add more properties to the SVG whitelist
2016-03-16 16:24:40 +00:00
rofrischmann
4e44b7dc9e
added several new unitless properties
2016-03-16 10:04:09 +01:00
Dan Abramov
7a30d24a94
Add vector-effect to SVG whitelist
...
Requested in https://github.com/facebook/react/issues/1657#issuecomment-148420568
2016-03-15 20:51:54 +00:00
Dan Abramov
01b41d3d9c
Add focusable attribute to SVG whitelist
...
Fixes #6212
2016-03-15 20:18:57 +00:00
Jim
98ee7d0d27
Merge pull request #6260 from iawia002/master
...
Update 02-displaying-data.zh-CN.md
2016-03-15 03:32:15 -07:00