Commit Graph
4100 Commits
Author SHA1 Message Date
Russ fdcf1f2b0e Update tutorial.md
Grammar fix
2015-03-28 11:37:55 -07:00
Ben Alpert f3d3ccb8b3 Update README.md 2015-03-28 10:55:15 -07:00
James Pearce 78dd5e2c1e Update README.md 2015-03-28 10:33:56 -07:00
James Pearce 494be2179c 'New' note 2015-03-28 10:33:15 -07:00
Paul O’Shannessy e30dd83896 Merge pull request #3240 from reactkr/translate-ko-release
Korean translation for docs
2015-03-27 11:39:54 -07:00
Jim b3c75d82b2 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 335221910d Merge pull request #3527 from mertkahyaoglu/master
remove unrelated doc line
2015-03-26 14:27:42 -07:00
Ben Alpert 56067147fe Merge pull request #3529 from uzarubin/patch-1
Swapping defaultChecked and defaultValue
2015-03-26 13:51:25 -07:00
Ustin Zarubin c45fa8b581 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 c3b0d8d9c6 Merge pull request #3525 from spicyj/home-3
[docs] Tweak words on homepage
2015-03-26 12:29:59 -07:00
Ben Alpert eef22ece37 [docs] Split up second sentence more 2015-03-26 12:29:14 -07:00
Mert Kahyaoğlu 6248406d6a remove unrelated doc line 2015-03-26 21:08:32 +02:00
Ben Alpert cf956ac8be [docs] Tweak words on homepage 2015-03-26 10:42:01 -07:00
Ben Alpert 951adcdd4c Add React Native blog post 2015-03-26 10:10:43 -07:00
Grant Timmerman 59a914aac0 Disable numeric element types 2015-03-26 10:07:56 -07:00
Ben Alpert ca66399402 [docs] Update site nav 2015-03-26 10:06:09 -07:00
Grant Timmerman 3c9ea72795 Display error when trying to create an element of type boolean. Fixes #3478 2015-03-26 01:21:54 -07:00
Ben Alpert b32fbef7c5 Add missing semicolon 2015-03-25 18:10:49 -07:00
Ben Alpert a4630c3928 Merge pull request #3520 from spicyj/validate-message
Tweak validation message, add html support
2015-03-25 17:43:55 -07:00
Ben Alpert 7c6694987d 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 da598c6a27 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 6cb0b985a7 Merge pull request #3504 from clariroid/docsJP
Translate 2 docs into Japanese
2015-03-25 17:20:59 -07:00
Alex Lopatin 6daa22be5a 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 07b7e8424d Remove stray console.log comment 2015-03-25 17:06:42 -07:00
Ben Alpert 7bef374f3f 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 98fff82336 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 029a526916 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 d12c968dec Only run src/ and vendor/fbtransform/ tests in jest
Test Plan: jest
2015-03-25 16:49:01 -07:00
Ben Alpert 76bb96ef21 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 949349d5ca 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 bc8b057bf0 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 86836c885d Merge pull request #3506 from cpojer/react-codemod
Add npm-react-codemod
2015-03-25 16:20:14 -07:00
cpojer 1865c042d7 Update README for npm-react-codemod 2015-03-25 16:15:07 -07:00
cpojer d9c13c73b6 Add ES6 class transform 2015-03-25 16:11:52 -07:00
cpojer d4cb2537af Add pure-render-mixin transform 2015-03-25 16:11:52 -07:00
cpojer 20004e94d3 Add findDOMNode transform 2015-03-25 16:11:52 -07:00
cpojer 328274bbba Add ReactUtils and array polyfills. 2015-03-25 16:11:52 -07:00
cpojer e361fcb3e6 Add skeleton for react-codemod 2015-03-25 16:11:48 -07:00
Andreas Savvides 580f2d829b 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 a869a0f7b0 Fix the locale id 2015-03-26 06:15:52 +09:00
clariroid 574b906f9b Translate 2 docs into Japanese 2015-03-26 06:15:50 +09:00
Paul O’Shannessy 27a191e704 Merge pull request #3513 from agelter/master
Added support for the 'low', 'high', and 'optimum' attributes that are missing from the <meter> tag.
2015-03-25 12:17:07 -07:00
Paul O’Shannessy 56b180b464 Fix failing test
PR #3494 was based on master before we shifted to using console.error. This
just fixes the new test case.
2015-03-25 12:15:41 -07:00
Jim 13dbda3644 Merge pull request #3494 from letiemble/B_Context_Rerender
Fix the context handling when updating a rendered component.
2015-03-25 11:55:35 -07:00
Paul O’Shannessy 8bd9541e08 Merge pull request #3503 from aredridel/patch-1
npm without -g should never need sudo
2015-03-25 10:55:41 -07:00
Paul O’Shannessy a164222367 Merge pull request #3507 from dpellier/master
Add scoped property to the list of DOM standard properties
2015-03-25 10:54:29 -07:00
Paul O’Shannessy f86a7f86cc Merge pull request #3511 from AnSavvides/glossary-space
Minor space change to be in line with coding style everywhere else
2015-03-25 10:51:15 -07:00
Aaron Gelter c9e82ce0f6 Added support for the 'low', 'high', and 'optimum' attributes that the <meter> tag requires. 2015-03-25 11:33:02 -06:00
Andreas b6534bec7d Minor space change to be in line with coding style everywhere else 2015-03-25 17:09:58 +00:00
Damien Pellier 3d45c0ad9d add scoped property to the list of DOM standard properties 2015-03-25 09:41:05 +01:00