Commit Graph

44 Commits

Author SHA1 Message Date
petehunt
d9efc5aa57 Add thinking in react to the official docs 2014-03-03 10:37:33 -08:00
Ben Alpert
4ab7f4ab8d Tweak tutorial wording to be more accurate 2014-02-20 11:40:14 -08:00
Ben Alpert
9bc90ba05c Merge pull request #1034 from nadeeshacabral/patch-1
Fixed sample code fence highlight
2014-02-12 23:23:49 -08:00
Ben Alpert
36f250bf9c Merge pull request #1003 from rdworth/patch-1
Update tutorial.md to still have jQuery script tag in later code sample
2014-02-07 00:08:22 -08:00
Nadeesha Cabral
2ad7d1a0ef Fixed missing lighted line
The line number added had been changed from the previous representation of the code fence, but was not highlighted. Therefore, fixed.
2014-02-06 19:11:19 +05:30
Richard D. Worth
835abde4c1 Update tutorial.md to still have jQuery script tag in later code sample 2014-01-31 12:13:52 -06:00
Bob Eagan
b24d241b82 replace "comments.json" with this.props.url 2014-01-24 08:52:00 -07:00
Ben Alpert
4a7ec73d13 Add dataType to all $.ajax calls for consistency
Fixes https://groups.google.com/forum/#!topic/reactjs/WWA3ZqU6y4w.
2014-01-13 19:54:09 -08:00
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
Vjeux
8d938e4a32 Add a talks section to the docs 2013-12-24 07:20:42 +01:00
Cheng Lou
0767e7b9dd docs make all link start with /react/docs 2013-12-19 17:15:01 -05: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
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
petehunt
ee83ad9f88 Make state immutable in tutorial (eek) 2013-11-08 13:27:20 -08: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
e484a734b5 Fix 404s to non-existent API docs 2013-09-24 16:00:52 -07:00
Ben Alpert
f566b56ed1 Flesh out reference documentation, more API info 2013-09-17 16:01:57 -07:00
Brian Rue
93a516e41b Tutorial: show how to add showdown.js 2013-08-30 16:29:01 -07:00
Paul O’Shannessy
3996d95131 [docs] Small tweaks as reported in comments
* highlight `</form>`
* use correct id in `getElementById` call
2013-08-28 14:42:07 -07:00
Clay Allsopp
700c3e24cd Fix broken tutorial link and change wording 2013-08-21 22:38:44 -07:00
Hugo Jobling
091697a887 remove dead link
the event handling doc page no longer exists
2013-07-18 11:05:39 +01:00
Hugo Jobling
79fca32e1b put closing paren in correct place 2013-07-18 10:44:22 +01:00
Hugo Jobling
f5d3500cfa update dead jsx link to point to an extant page
syntax.html no longer exists, so point people at the in depth article instead.
2013-07-18 10:36:54 +01:00
petehunt
85a7336741 cleanup some files, move tutorial 2013-07-14 18:35:59 -07:00
petehunt
7d77fd17ea update and move tutorial 2013-07-14 17:49:07 -07:00
Mathieu M-Gosselin
38db22b954 Changed JSON data in the tutorial to use double quotes for strings. 2013-06-26 16:24:51 -04:00
Greg Roodt
ddb326a029 Update tutorial.md
The ajax call happens every 5 seconds, not every 60 seconds.
2013-06-15 10:15:42 +03:00
dschafer
c1ef8e9ab4 Highlight additional change in tutorial12.js
tutorial12.js switches from using this.props to this.state. Let's highlight the change on line 10 as well to make that clear.
2013-06-03 13:48:14 -06:00
petehunt
394d23f848 ReactDOM->React.DOM 2013-06-01 13:01:52 -07:00
petehunt
5ba90d42ee Merge pull request #33 from spicyj/docs-fix
Update stale event docs in tutorial
2013-05-31 09:52:20 -07:00
Ben Alpert
1fc75432da Add return false; to onSubmit handlers 2013-05-31 01:46:55 -07:00
Ben Alpert
441302ee6e Wording tweaks 2013-05-30 20:21:44 -07:00
Ben Alpert
ccd06e728a Update stale event docs in tutorial
The example uses onSubmit but the docs were still referring to onKeyUp.
2013-05-30 18:24:48 -07:00
petehunt
3a6452c928 Merge pull request #19 from seiffert/submit_button
Docs/Tutorial: Introducing a submit button in the comment form
2013-05-30 11:15:40 -07:00
Paul Seiffert
c09a1bd376 Introducing a submit button in the tutorial's comment form 2013-05-30 16:54:30 +02:00
Paul Seiffert
2e0837a574 Highlighting the correct line 2013-05-30 16:22:11 +02:00
petehunt
8e7d880c27 add a link to my tutorial repo 2013-05-29 22:41:28 -07:00
Paul O’Shannessy
eb278167cd Initial public release 2013-05-29 12:54:02 -07:00