Commit Graph

197 Commits

Author SHA1 Message Date
Ben Alpert
64a5570c1c Move initial $.ajax out of getInitialState
We want to encourage people to make pure getInitialState functions.
2013-12-29 00:14:05 -07:00
Pete Hunt
d24fbf6d7b Merge pull request #733 from ivan/master
Use explicit $.ajax dataType and add error callback
2013-12-28 22:15:08 -08:00
Ivan Kozik
91a049a45e console.log -> console.error 2013-12-29 06:12:45 +00:00
Ivan Kozik
81f24d13e6 Add a warning about the @jsx declaration 2013-12-29 05:51:07 +00:00
Ivan Kozik
c72efb80c5 Use explicit $.ajax dataType and add error callback 2013-12-29 05:32:46 +00:00
Cheng Lou
9208a5153e docs add warning to add jsx pragma 2013-12-28 23:04:34 -05:00
Wincent Colaiuta
9414ba1d83 Fix a typo in the working-with-the-browser docs 2013-12-26 22:22:00 -08:00
Paul O’Shannessy
4795c0b03e Merge pull request #695 from luigy/patch-1
Fix "Dynamic Children" example
2013-12-26 09:04:21 -08:00
Pete Hunt
1141feaad1 Merge pull request #704 from vjeux/talks_doc
Add a talks section to the docs
2013-12-23 22:21:56 -08:00
Vjeux
8d938e4a32 Add a talks section to the docs 2013-12-24 07:20:42 +01:00
Fabio M. Costa
8a7415fd66 updating text as suggested by @petehunt 2013-12-23 16:41:41 -08:00
Fabio M. Costa
30199e4d17 Adding note about onScroll on IE8 2013-12-23 16:40:41 -08:00
Vjeux
0f3a5793e5 Document the Diff algorithm
We often refer to it but never did actually explain it.
2013-12-22 20:09:02 +01:00
Luigy Leon
d4ab34b188 Fix "Dynamic Children" example 2013-12-22 10:37:09 -05:00
Cheng Lou
0767e7b9dd docs make all link start with /react/docs 2013-12-19 17:15:01 -05:00
Cheng Lou
b8081db247 docs add input attrs for Dom Differences 2013-12-18 00:46:59 -05:00
Cheng Lou
f6df878b37 docs section for non-dom attributes
Also added documentation for `dangerouslySetInnerHTML`.
2013-12-18 00:31:17 -05:00
Pete Hunt
d6886c35b3 Merge pull request #668 from nicholasbs/fix-docs-typo
Fix typos
2013-12-17 18:39:14 -08:00
Kit Randel
990e1e4142 Tutorial template markup needs a reference to jquery for the ajax calls
from step 13 onwards.
2013-12-18 15:13:45 +13:00
Nicholas Bergson-Shilcock
9fd3cf29b3 Fix typo (ot -> to) 2013-12-15 12:11:47 -05:00
Ben Alpert
ec1c1d4ace Add loop property 2013-12-11 11:46:16 -08:00
Brian Cooke
6d8496dd06 Update highlighted lines in tutorial
Minor issue, but I found it distracting that the highlighted lines were not accurate. I *believe* this fixes them up.
2013-12-09 15:16:37 -08:00
Pete Hunt
28f5f803e6 Merge pull request #581 from chenglou/docs-select-value
docs `select` `value` to control chosen option
2013-12-01 13:53:12 -08:00
Cheng Lou
3d51380732 docs remove rootNode for componentDidMount/Update 2013-11-27 21:46:02 -05:00
Cheng Lou
493a22b865 docs select value to control chosen option 2013-11-20 22:34:53 -05:00
Ben Alpert
0f5fd4e076 autoBind -> Autobinding
We don't use the term autoBind anywhere any more.
2013-11-20 11:42:05 -08:00
Cheng Lou
289841e14f docs highlight className and htmlFor transforms 2013-11-18 21:42:51 -05:00
Cheng Lou
aee4f20c00 docs classSet semicolons missing 2013-11-18 21:22:14 -05:00
Paul O’Shannessy
36515bb9eb Merge branch 'chenglou-classSet'
closes #463
2013-11-18 18:00:24 -08:00
Pete Hunt
b99c50bf44 Merge pull request #460 from chenglou/opacity-1
fix doc & example transition opacity from .99 to 1
2013-11-13 17:31:08 -08:00
Fabio M. Costa
d469a4e694 Fixes the name of the component on documentation
AvatarImage -> Avatar
2013-11-10 11:52:41 -08:00
Cheng Lou
12d16c92d8 update add-ons docs based on feedbacks
- Overview of add-ons for the add-ons page.
- Better title for `ReactLink`.
- Nicer code format for classSet example.
- Better explanation for `classSet`.
2013-11-08 16:55:14 -05:00
petehunt
ee83ad9f88 Make state immutable in tutorial (eek) 2013-11-08 13:27:20 -08:00
Cheng Lou
4217596377 move docs tooling from JSX in Depth
Also removes the code wrap around the syntax highlighting link.
2013-11-07 14:25:54 -05:00
Cheng Lou
686ea54857 add docs lowercase mention for data- and aria- 2013-11-05 21:02:06 -05:00
Paul O’Shannessy
67d4e7ebaf Remove jQuery version number from tutorial docs 2013-11-05 11:29:00 -08:00
Ben Alpert
2f08e7f3d0 tutorial: Simplify ajax options
dataType was unnecessary; mimeType was both unnecessary and wrong in this case. Also removed an unnecessary bind and changed pollInterval to 2000 ms for consistency with https://github.com/petehunt/react-tutorial (faster is nicer if you actually try it out!).
2013-11-05 11:17:37 -08:00
petehunt
7c9eb94833 Update tutorial to use className 2013-11-04 17:04:25 -08:00
Paul O’Shannessy
9b3c3b63e2 [docs] Clarify when getInitialState is called. 2013-11-01 15:29:10 -07:00
Cheng Lou
87c91649f3 add docs on classSet add-on 2013-10-31 21:59:35 -04:00
Cheng Lou
c60838de08 split add-ons into subsections
In preparation for documenting `classSet` add-on.
2013-10-31 21:10:19 -04:00
Cheng Lou
c4ad7db26f fix doc & example transition opacity from .99 to 1
The initial thought was that an opacity animation from 0.01 to 1 causes trouble on some browser. But after testing on opera 12.15, ff 23, ie 10, chrome 30, desktop/mobile safari 7 and chrome android I confirm this works.
2013-10-31 17:35:38 -04:00
Paul O’Shannessy
9f6b329d8a Update API docs for unmountAndReleaseReactRootNode 2013-10-26 17:42:34 -07:00
Brian Rue
2226476039 ReactTransitionGroup example: fix typo and logic bug in handleRemove 2013-10-25 18:03:31 -07:00
Keito Uchiyama
c36b68e386 docs: Delete Mutation Events (onCharacterDOMModified) 2013-10-21 19:56:49 -07:00
Paul O’Shannessy
34629c666a docs: remove OUTLINE 2013-10-21 15:20:01 -07:00
Paul O’Shannessy
9cde3caa6d Update docs with supported tags and attributes 2013-10-15 18:15:24 -07:00
petehunt
b5841ea2f3 new addons docs
closes #403
2013-10-15 14:09:21 -07:00
Ben Alpert
3328553ecc Tweak verbiage about required polyfills
I found it weird how the es5-shim comment came after the list of functions; now it's before.
2013-10-08 16:25:29 -07:00
Cheng Lou
699ee86fc5 Add doc link to DOM differences from JSX gotchas 2013-09-30 20:46:41 -04:00