Ben Alpert
64c9d9d762
Split out warning message for nested key warning
...
Also make sure to mark child array as validated in cloneElement as well.
2015-05-12 16:33:04 -07:00
Ben Alpert
f0bdadf85b
Merge pull request #3857 from spicyj/dev-rckv
...
Set _reactChildKeysValidated in dev mode only
2015-05-11 17:06:18 -07:00
Ben Alpert
0c58f4f6b1
Set _reactChildKeysValidated in dev mode only
2015-05-11 17:02:49 -07:00
Paul O’Shannessy
1549bae2ab
Merge pull request #3834 from chicoxyzzy/remove_jslint
...
remove jslint comments
2015-05-10 22:52:57 -07:00
Paul O’Shannessy
7839e07231
0.14.0-alpha1
2015-05-10 22:36:50 -07:00
Ben Alpert
4ba67670f9
Merge pull request #3841 from spicyj/yolo
...
Preserve prototype with replaceState
2015-05-08 13:16:43 -07:00
Ben Alpert
d7de12fbd8
Preserve prototype with replaceState
...
Fixes #3418 .
2015-05-08 13:11:18 -07:00
Paul O’Shannessy
e135a4dbc3
Follow-up to follow-up to #3718
...
Cleaned up a few more ununsed things.
2015-05-07 17:29:31 -07:00
Paul O’Shannessy
5da94d6eb0
Followup to #3758 so we actually test things
2015-05-07 17:10:51 -07:00
chico
553dd90528
remove jslint comments
2015-05-08 03:05:51 +03:00
Eric Eastwood
60e1f5a103
Add support for unitless tabSize/tab-size
2015-05-07 13:51:15 -05:00
Paul O’Shannessy
72ad0c11c3
Merge pull request #3829 from murashki/ReactMultiChildText-test.js-__html-typo
...
ReactMultiChildText-test.js fix __html typo
2015-05-07 10:34:08 -07:00
David Goldberg
759a393ce5
Formatting of line 19 ReactNativeComponent.js
...
Corrected formatting error on line 19 of ReactNativeComponent.js by adding a period in order to be consistent with the other comments in the file.
2015-05-07 10:09:00 -07:00
Yakov Dalinchuk
9b798400fd
ReactMultiChildText-test.js fix __html typo
2015-05-07 16:06:11 +03:00
Ben Alpert
5f32953ac7
Follow-ups for #3718
...
- Rename NamespaceProperties to DOMAttributeNamespaces
- Make tests pass in jest
- Remove unnecessary xmlns attributes
2015-05-05 16:46:49 -07:00
Federico Rampazzo
a88b655ccd
Added support for namespace attributes
2015-05-05 16:15:25 -07:00
Tomasz Kołodziejski
5ef0b416df
IsMounted should always return a boolean.
...
Fixes #3814 . isMounted used to return undefined if internalInstance
was undefined after component was unmounted.
2015-05-05 11:43:09 +02:00
Ben Alpert
a110c76558
Merge pull request #3801 from spicyj/babel
...
Use Babel to build React
2015-05-04 16:14:00 -07:00
Ben Alpert
93a782b40b
Use Babel to build React
...
Size comparison:
```
raw gz Compared to master @ 6ed98ec0c8
= = build/JSXTransformer.js
-15736 -3247 build/react-with-addons.js
+287 +7 build/react-with-addons.min.js
-14412 -2887 build/react.js
+274 +15 build/react.min.js
```
Differences mostly look to be various bits of whitespace that Babel ends up removing during its transforms (https://gist.github.com/spicyj/21ef31f4d95fb7a58daf ). In minified files, mostly additions of `"use strict";`.
2015-05-04 14:14:09 -07:00
Ben Alpert
e06d3e0ab9
Better warning messages for deprecated methods
2015-05-01 13:32:31 -07:00
Ben Alpert
36f3a2aaff
Batch updates within top-level unmount
...
Analogous change to #2935 .
2015-04-30 15:05:44 -07:00
James Burnett
d42bf671d2
check that React renders the menuitem closing tag
2015-04-29 17:32:56 -04:00
Ben Alpert
8cf226e442
Fix infinite recursion in browsers with iterators
...
My old code here didn't work properly -- for a string child, getIteratorFn would return an iterator that gave each character as its own string, and we'd attempt to loop over that too.
Tests now work in Chrome again.
2015-04-29 00:21:00 -07:00
Jim
40119404b9
Merge pull request #3740 from jsfb/element-is-parent-of-render-result-test
...
Added unit test to verify that context treats the component doing a render() as the parent.
2015-04-27 16:11:39 -07:00
Ben Alpert
3b10a7b038
Add forgotten clipPath wrapper in getMarkupWrap
2015-04-27 15:39:39 -07:00
codesuki
e3cf48cd7f
Added support for SVG clipPath element and clip-path attribute
2015-04-27 15:37:23 -07:00
Jim
9a950e9a19
Added unit test to verify that context treats the component doing a render() as the parent.
2015-04-27 14:56:25 -07:00
Ben Alpert
d359319073
Merge pull request #3758 from spicyj/keys-keys-keys
...
Add key warning to nested collections
2015-04-27 14:51:30 -07:00
Ben Alpert
086636747f
Add key warning to nested collections
...
Also when reusing elements in multiple contexts -- before we were mutating each element to indicate its validity; now we mutate the array containing it (which we create, in the case of rest-arg children).
Fixes #2496 . Fixes #3348 .
2015-04-27 14:41:25 -07:00
Ben Alpert
adcb420414
Merge pull request #3757 from spicyj/es6
...
Add missing super() calls
2015-04-27 14:31:03 -07:00
Ben Alpert
2d1a24e8df
Add missing super() calls
...
Babel complains without these because it's invalid ES6.
2015-04-27 13:41:10 -07:00
Victor Koenders
ed4daba87d
src/core/ReactChildReconciler.js::unmountChildren was missing an Object.hasOwnProperty check
2015-04-26 13:54:16 +02:00
Cheng Lou
1df2b6f638
Tweak style mutation warning, remove test comment
2015-04-24 15:04:05 -04:00
Cheng Lou
288c7ed139
Merge pull request #2027 from chenglou/warn-style-mutation
...
Set up `style` mutation monitoring
2015-04-24 14:51:33 -04:00
Ben Alpert
0183f70797
Merge pull request #3727 from spicyj/dsih
...
Relax dangerouslySetInnerHTML validation
2015-04-22 17:37:40 -07:00
Ben Alpert
7f02455220
Relax dangerouslySetInnerHTML validation
...
Fixes #3460 .
2015-04-22 16:59:50 -07:00
Jim
41348ba911
Merge pull request #3640 from jsfb/render-subtree-pass-context
...
Provide top level method for rendering subtree (passes context)
2015-04-22 14:29:06 -07:00
Jim
c93b4245cb
Provide top level method for rendering subtree (passes context)
2015-04-22 14:25:29 -07:00
Ben Alpert
3c66b8f0f7
Merge pull request #3665 from mridgway/replaceHasOwnProperty
...
[performance] Replace hasOwnProperty in child processing with typeof undefined check
2015-04-22 11:21:38 -07:00
Scott Feeney
d235940037
Merge pull request #3716 from graue/optional-shallow-render-context
...
Shallow render components that define contextTypes
2015-04-22 10:54:40 -07:00
Paul O’Shannessy
4f285b7ba0
Merge pull request #3676 from zpao/rm-withContext
...
Remove withContext from top-level API
2015-04-22 09:45:26 -07:00
Scott Feeney
df937af91c
Shallow render components that define contextTypes
...
You now no longer have to pass an undocumented extra argument to the
shallow renderer for rendering components with contextTypes to work.
Fixes #3696
2015-04-21 16:17:06 -07:00
Ben Alpert
cc412367dd
Merge pull request #3706 from spicyj/no-raf
...
Remove ReactRAFBatchingStrategy
2015-04-20 13:41:46 -07:00
Ben Alpert
302f0a1f5a
Remove ReactRAFBatchingStrategy
...
We don't use or support this, so let's just delete it. (#3570 )
2015-04-20 12:09:15 -07:00
Paul O’Shannessy
088d71c7c1
Merge pull request #3693 from reedloden/swap-http-to-https
...
SSL/TLSize all the things! (convert http:// to https:// where appropriate)
2015-04-20 11:02:29 -07:00
Tobias Reiss
e2fa43031e
should call new and old constructor with arguments
2015-04-20 00:43:55 +02:00
Reed Loden
3e8951e8c7
SSL/TLSize all the things! (convert http:// to https:// where appropriate)
...
Update links to use https:// where it is supported. There's probably a lot
more that could be fixed, but these are the core ones I found (especially
the download links in order to prevent MITM attacks). Note that there are
some fb.me links that will redirect to http:// even while accessed over
https://, but this seemed like the best way to fix those for now.
NOTE: Only non-third-party files were modified. There are references to
http:// URLs in vendored/third-party files, but seems appropriate to fix
upstream for those rather than editing the files.
Also, copy one image locally to the blog, as it was hotlinking to a site
that did not support https://.
Last, use youtube-nocookie.com instead of youtube.com for video embeds,
as the former doesn't try to set a cookie on load (privacy enhancement).
2015-04-18 16:49:32 -07:00
Paul O’Shannessy
5297ff66cf
Remove withContext from top-level API
2015-04-16 15:58:27 -07:00
Ben Alpert
6a7a4fd635
Merge pull request #3675 from spicyj/gh-3655
...
Add warning for getDefaultProps on ES6 classes
2015-04-15 17:40:47 -07:00
Ben Alpert
b8b10001f3
Add warning for getDefaultProps on ES6 classes
...
Fixes #3655 .
2015-04-15 17:33:20 -07:00