Ben Alpert
db989bf686
Don't execute <script> tags w/ createElement mode
...
Each script will execute at most once so we could also set `.textContent` to something like `;`, then add it to the document, then change the `.textContent`, but this seems like the simplest approach. See http://dev.w3.org/html5/spec-preview/the-script-element.html for details.
2015-10-12 13:43:40 -07:00
Ben Alpert
b03b195759
Merge pull request #5130 from matiassingers/jasmine-spy-call-args-consistency
...
Jasmine spies call args property consistency
2015-10-12 10:24:56 -07:00
Jim
e45e46a567
Merge pull request #5141 from pluma/patch-2
...
Removed ESLint warning
2015-10-12 09:59:17 -07:00
Alan Plum
0e451162bc
Removed eslint warning.
2015-10-12 17:42:38 +02:00
Matias Singers
f8f2be05ce
Consistently use calls[n].args[n] instead of argsForCall[n][n] for Jasmine spies
2015-10-12 22:39:19 +08:00
Ben Alpert
01817c143c
Merge pull request #5129 from matiassingers/jasmine-spy-calls-length-consistency
...
Jasmine spies call count property consistency, take II
2015-10-11 15:03:27 -07:00
Matias Singers
dd0b1a643b
Consistently use calls.length instead of callCount for Jasmine spies, take II
...
See #3105 for take I
2015-10-11 15:42:24 +08:00
Paul O’Shannessy
5dc2858bc9
Merge pull request #5126 from bhamodi/white-space
...
File Cleanup.
2015-10-10 19:30:29 -07:00
Paul O’Shannessy
0b21632f8e
Merge pull request #5123 from vipulnsward/fix-html-jsx-page
...
- Bring back JSX compiler styling still being used on HTML JSX page
2015-10-10 19:11:26 -07:00
Baraa Hamodi
a86e349535
File Cleanup.
2015-10-10 16:05:58 -04:00
Vipul A M
2b81ea0d20
- Bring back JSX compiler styling still being used on HTML JSX page
...
Fixes [#5121 ]
2015-10-10 13:53:59 -04:00
Jim
0b29035484
Merge pull request #5120 from abloomston/patch-1
...
Include react-dom
2015-10-10 07:35:19 -07:00
Adam Bloomston
ab1be09d7d
Include react-dom
...
Fixes `Uncaught ReferenceError: ReactDOM is not defined`
2015-10-10 10:17:08 -04:00
Paul O’Shannessy
be90351add
Update Readme with for 0.14
2015-10-09 17:48:44 -07:00
Jim
5c3e99c7f4
Merge pull request #5116 from jimfb/download-page-links
...
Added react-dom to individual downloads
2015-10-09 15:17:08 -07:00
Jim
f6e09f1903
Added react-dom to individual downloads
2015-10-09 15:11:11 -07:00
Ben Alpert
fb9e1ed475
Merge pull request #5014 from spicyj/native-parents
...
Thread native-parent pointers through everything
2015-10-09 15:07:59 -07:00
Ben Alpert
8210299437
Add SVG/MathML support for createElement mode
2015-10-09 14:56:57 -07:00
Ben Alpert
1dca72ebfa
Thread native-parent pointers through everything
...
Now we don't repurpose context for our own secret needs (hi Dan). In this diff I avoid storing the native parent on native (DOM) components and store it only on composites, but we'll probably want to store it on native components too soon for event bubbling.
2015-10-09 14:56:08 -07:00
Ben Alpert
a907da9430
Make Danger-test simpler and more robust
2015-10-09 14:54:42 -07:00
Ben Alpert
4e48c67120
Merge pull request #5113 from spicyj/document-context
...
Document context
2015-10-09 14:46:56 -07:00
Ben Alpert
28b10a9d6a
Document context
...
Fixes #580 .
2015-10-09 14:44:24 -07:00
Paul O’Shannessy
09b688efce
[docs] Fix line highlights for linked-state-mixin
2015-10-09 12:32:01 -07:00
Jim
15c731edca
Merge pull request #5109 from Josh-a-e/undefined_this_on_controlled_components
...
add test to show `this` is indeed undefined - closes #3613
2015-10-09 11:44:19 -07:00
Ben Alpert
d95381387e
Merge pull request #5111 from spicyj/vdn-current
...
validateDOMNesting: parentTag -> current
2015-10-09 11:43:31 -07:00
Ben Alpert
9c836b09f2
validateDOMNesting: parentTag -> current
2015-10-09 11:40:55 -07:00
Joshua Evans
8f4c2997a0
add test to show this is indeed undefined - closes #3613
2015-10-09 19:37:58 +01:00
Jim
845135531a
Merge pull request #5105 from jimfb/changelog-0.14
...
Added changelog for 0.14
2015-10-09 10:51:36 -07:00
Paul O’Shannessy
3359e2f64c
Merge pull request #5101 from bcbcb/patch-1
...
[docs] fix forms Default Value example
2015-10-09 10:47:01 -07:00
Jim
e8be7013ba
Merge pull request #4981 from iamchenxin/zh_docs
...
[docs] Sync up tutorial.zh-CN with en(a440f40 )
2015-10-09 10:46:16 -07:00
iamchenxin
a8459214d1
[docs] Sync up tutorial.zh-CN with en( a440f40)
...
[docs] Amend wrong words in zh-CN
08.1-more-about-refs.zh-CN.md
Update zh-CN docs
add thinking-in-react.zh-CN.md
[docs] Update two zh-CN docs
new file: ref-01-top-level-api.zh-CN.md
new file: ref-02-component-api.zh-CN.md
2015-10-10 01:35:03 +08:00
Jim
72e70f345b
Added changelog for 0.14
2015-10-09 10:26:18 -07:00
Ben Alpert
407e88d6c8
Merge pull request #5107 from mbrookes/patch-1
...
Grammar
2015-10-09 08:59:47 -07:00
Matt Brookes
98aecac34c
Grammar
...
I'm assuming this was meant to say that the JSX spread syntax saves typing, not copying attributes.
2015-10-09 14:31:59 +01:00
Jim
1a7c0a4b16
Merge pull request #5102 from TracyJordan/master
...
Fixed some comment punctuation in ReactDOMComponent.js
2015-10-09 00:33:39 -07:00
Kevin Cheng
ff17bc25d1
Fixed punctuation
2015-10-08 19:36:05 -07:00
Brenard Cubacub
d96f319d6e
[docs] fix forms Default Value example
...
The Default Value section in the forms docs says "This example will function much like the Controlled Components example above."
The example actually functions like the Uncontrolled Components example, not the Controlled Components example.
2015-10-08 16:41:19 -07:00
Ben Alpert
f522371cee
Merge pull request #5100 from spicyj/ssr-dupe
...
Remove duplication in ReactServerRendering
2015-10-08 15:11:34 -07:00
Ben Alpert
d4420eca8a
Remove duplication in ReactServerRendering
2015-10-08 15:06:09 -07:00
Ben Alpert
3f5747009d
Merge pull request #5083 from spicyj/warn-min
...
Warn when using a minified copy of dev React
2015-10-08 14:08:50 -07:00
Paul O’Shannessy
c511f161df
Merge pull request #5096 from songawee/docs_babel_fix
...
fix(docs): adjust babel release to match the babel.js changelog
2015-10-08 11:52:42 -07:00
Ben Alpert
f3a506bc0c
Warn when using a minified copy of dev React
...
Fixes #4842 .
2015-10-08 11:44:56 -07:00
songawee
8fb436a5eb
fix(docs): adjust babel release to match the babel.js changelog
2015-10-08 12:44:24 -06:00
Ben Alpert
2253405dcc
Merge pull request #5085 from spicyj/cdp
...
Extract defineProperty feature testing to one file
2015-10-08 11:33:07 -07:00
Ben Alpert
4fb39ce984
Merge pull request #5081 from spicyj/svg-tu
...
Don't break on SVG tags in scryRenderedDOMComponentsWithClass
2015-10-08 08:38:32 -07:00
Ben Alpert
4bb83d237e
Don't break on SVG tags in scryRenderedDOMComponentsWithClass
...
Fixes #5076 .
2015-10-08 08:29:53 -07:00
Ben Alpert
e9796cc447
Merge pull request #5084 from spicyj/rearrange-utils
...
Move escapeTextContentForBrowser and quoteAttributeValueForBrowser to DOM directory
2015-10-08 08:28:40 -07:00
Ben Alpert
3fb2d3f5d4
Extract defineProperty feature testing to one file
...
This makes it slightly more bearable to debug in IE8 with an exception breakpoint. Also the old way was just silly and could mask other bugs.
2015-10-07 18:33:13 -07:00
Ben Alpert
2637a8eaf4
Move escapeTextContentForBrowser and quoteAttributeValueForBrowser to DOM directory
...
Only DOM files use these.
2015-10-07 18:11:15 -07:00
Ben Alpert
a7189c57fc
Merge pull request #5057 from camsong/patch-1
...
Text fix in ReactClass.js
2015-10-07 17:19:19 -07:00