Commit Graph
4110 Commits
Author SHA1 Message Date
Ben Alpert 08ffdffcf8 [docs] English tweaks (and testing Travis) 2015-03-30 11:10:44 -07:00
Ben Alpert d69441faeb Merge pull request #3540 from spicyj/auto-gh-pages
Autobuild website on Travis from stable branch
2015-03-30 10:57:06 -07:00
Ben Alpert 1c6f30663a Autobuild website on Travis from stable branch
$REACT_WEBSITE_BRANCH in https://travis-ci.org/facebook/react/settings/env_vars now needs to point to the stable branch (currently 0.13-stable). I haven't tested the commit-and-push part of this but everything else works so I'm hopeful.
2015-03-30 10:56:41 -07:00
Ben Alpert f2cdaa2547 Merge pull request #3543 from spicyj/keep-docs-js-react
Keep docs/js/{react,JSXTransformer}.js in repo
2015-03-30 10:55:29 -07:00
Christopher Chedeau e34d419c66 Merge pull request #3545 from vjeux/roundup_26
Roundup 26
2015-03-30 07:23:20 -07:00
Christopher Chedeau d81033b75c Roundup 26 2015-03-29 20:02:40 -07:00
Paul O’Shannessy 6b3acb521d Merge pull request #3544 from prathamesh-sonpatki/fix-link-to-display-name
Fixed link to displayName component spec from JSX in depth article
2015-03-29 10:30:24 -07:00
Prathamesh Sonpatki a28467739c Fixed link to displayName component spec from JSX in depth article 2015-03-29 16:50:33 +05:30
Paul O’Shannessy 841e9b8ef6 Merge pull request #3539 from russellpwirtz/patch-1
Update tutorial.md
2015-03-28 21:26:29 -07:00
Ben Alpert 781fa91eef Keep docs/js/{react,JSXTransformer}.js in repo
This way we don't need to rebuild them each time for the website.
2015-03-28 14:56:54 -07:00
Russ b8814969e8 Update tutorial.md
Grammar fix
2015-03-28 11:37:55 -07:00
Ben Alpert 67674a8ceb Update README.md 2015-03-28 10:55:15 -07:00
James Pearce d11fe58a4a Update README.md 2015-03-28 10:33:56 -07:00
James Pearce c7fd30137c 'New' note 2015-03-28 10:33:15 -07:00
Paul O’Shannessy 0a6e8fe8db Merge pull request #3240 from reactkr/translate-ko-release
Korean translation for docs
2015-03-27 11:39:54 -07:00
Jim 7f63a4dab9 Merge pull request #3521 from grant/master
Display error when trying to create an element of type `boolean`. Fixes #3478
2015-03-26 14:39:32 -07:00
Jim 26ab9b1033 Merge pull request #3527 from mertkahyaoglu/master
remove unrelated doc line
2015-03-26 14:27:42 -07:00
Ben Alpert b96fc527f3 Merge pull request #3529 from uzarubin/patch-1
Swapping defaultChecked and defaultValue
2015-03-26 13:51:25 -07:00
Ustin Zarubin 698432ebf1 Swapping defaultChecked and defaultValue
The current documentation states that the `<select>` tag supports `defaultChecked`, but it actually doesn't. I believe this documentation was meant to be written in the proposed order. 

Non-working fiddle using `defaultChecked`: http://jsfiddle.net/jqs1hsLr/1/
Working fiddle using `defaultValue`: http://jsfiddle.net/nv7z0yzL/1/
2015-03-26 16:42:36 -04:00
Ben Alpert 5c75aca486 Merge pull request #3525 from spicyj/home-3
[docs] Tweak words on homepage
2015-03-26 12:29:59 -07:00
Ben Alpert ed80997a20 [docs] Split up second sentence more 2015-03-26 12:29:14 -07:00
Mert Kahyaoğlu e881b46531 remove unrelated doc line 2015-03-26 21:08:32 +02:00
Ben Alpert 81496b6ec0 [docs] Tweak words on homepage 2015-03-26 10:42:01 -07:00
Ben Alpert ceaef12eb2 Add React Native blog post 2015-03-26 10:10:43 -07:00
Grant Timmerman 8324d6d52b Disable numeric element types 2015-03-26 10:07:56 -07:00
Ben Alpert b1dbe130fa [docs] Update site nav 2015-03-26 10:06:09 -07:00
Grant Timmerman 5f85b259e8 Display error when trying to create an element of type boolean. Fixes #3478 2015-03-26 01:21:54 -07:00
Ben Alpert d84f7f9dde Add missing semicolon 2015-03-25 18:10:49 -07:00
Ben Alpert fb23d335f6 Merge pull request #3520 from spicyj/validate-message
Tweak validation message, add html support
2015-03-25 17:43:55 -07:00
Ben Alpert d78ac4a713 Tweak validation message, add html support
The old message made no sense if you had a > div > a or similar. I'm clearly feeling sloppy today.
2015-03-25 17:24:13 -07:00
Ben Alpert 9106fd8966 Merge pull request #3518 from alopatin/patch-1
Docs: Clarify that React.PropTypes.node accepts fragments
2015-03-25 17:23:52 -07:00
Paul O’Shannessy b502178293 Merge pull request #3504 from clariroid/docsJP
Translate 2 docs into Japanese
2015-03-25 17:20:59 -07:00
Alex Lopatin 821689e991 Docs: Clarify that React.PropTypes.node accepts fragments
As of #3293 `ReactFragment` counts as a node, but this isn't made clear in the docs.
2015-03-25 17:17:42 -07:00
Ben Alpert 3ad5a67c56 Remove stray console.log comment 2015-03-25 17:06:42 -07:00
Ben Alpert 0fec326fbe Merge pull request #3517 from spicyj/jest-config
Only run src/ and vendor/fbtransform/ tests in jest
2015-03-25 17:06:26 -07:00
Ben Alpert 9e759adacf Merge pull request #3516 from spicyj/valid-4
Validate only against problematic tag nesting
2015-03-25 17:01:09 -07:00
Paul O’Shannessy f98fe8ef16 Merge pull request #3498 from AnSavvides/patch-1
Include latest version of jQuery in tutorial
2015-03-25 16:53:13 -07:00
Ben Alpert 795c7284b1 Only run src/ and vendor/fbtransform/ tests in jest
Test Plan: jest
2015-03-25 16:49:01 -07:00
Ben Alpert db2676cbbe Validate only against problematic tag nesting
Turns out lots of people write invalid HTML all the time and no one, including your browser or React, cares. Most invalid HTML combinations don't cause magic reparented nodes; only some do. The HTML5 parsing spec (https://html.spec.whatwg.org/multipage/syntax.html) specifies which tag combinations cause strange parsing behavior. I did my best to encode the logic here. It's more lenient than before in some cases, but more strict in others (before we didn't look at the whole stack of tags; now we warn with deeply nested `p` or `form` or `a` tags).
2015-03-25 16:43:41 -07:00
Christoph Pojer 011f4375e2 Merge pull request #3515 from cpojer/fix-class-transform
npm-react-codemod: Class transform doesn’t need aliases
2015-03-25 16:35:18 -07:00
cpojer f0f2a2935b npm-react-codemod: Class transform doesn’t need an alias for module.exports = React.createClass any longer.
Before: `module.exports = class __exports extends React.Component {}`
After: `module.exports = class extends React.Component {}`

See https://github.com/benjamn/ast-types/commit/638ef2b9d2f43938f64677c1109188092393b644
2015-03-25 16:31:23 -07:00
Christoph Pojer 3dd66a7048 Merge pull request #3506 from cpojer/react-codemod
Add npm-react-codemod
2015-03-25 16:20:14 -07:00
cpojer 1021f2d392 Update README for npm-react-codemod 2015-03-25 16:15:07 -07:00
cpojer cc5c4dd781 Add ES6 class transform 2015-03-25 16:11:52 -07:00
cpojer 3eeeb97ebc Add pure-render-mixin transform 2015-03-25 16:11:52 -07:00
cpojer 36449d1b46 Add findDOMNode transform 2015-03-25 16:11:52 -07:00
cpojer 5add7e7e5d Add ReactUtils and array polyfills. 2015-03-25 16:11:52 -07:00
cpojer 6faa269eaa Add skeleton for react-codemod 2015-03-25 16:11:48 -07:00
Andreas SavvidesandAndreas 553a69b664 Include latest version of jQuery in tutorial
Include latest version of jQuery 2.x in tutorial
2015-03-25 22:36:27 +00:00
clariroid 0e7e6a822b Fix the locale id 2015-03-26 06:15:52 +09:00