Commit Graph

44 Commits

Author SHA1 Message Date
petehunt
a0ecf47242 Add thinking in react to the official docs 2014-03-03 10:37:33 -08:00
Ben Alpert
89d4d352e1 Tweak tutorial wording to be more accurate 2014-02-20 11:40:14 -08:00
Ben Alpert
f37474b75b Merge pull request #1034 from nadeeshacabral/patch-1
Fixed sample code fence highlight
2014-02-12 23:23:49 -08:00
Ben Alpert
bc27325d31 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
5f941628e0 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
e58064a8db Update tutorial.md to still have jQuery script tag in later code sample 2014-01-31 12:13:52 -06:00
Bob Eagan
7614af3c9a replace "comments.json" with this.props.url 2014-01-24 08:52:00 -07:00
Ben Alpert
eb2ac7f2f2 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
cce91611aa 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
82c4e897dc 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
17f14d523b console.log -> console.error 2013-12-29 06:12:45 +00:00
Ivan Kozik
0647c2ee98 Add a warning about the @jsx declaration 2013-12-29 05:51:07 +00:00
Ivan Kozik
f03d6e212a Use explicit $.ajax dataType and add error callback 2013-12-29 05:32:46 +00:00
Vjeux
91780d1c58 Add a talks section to the docs 2013-12-24 07:20:42 +01:00
Cheng Lou
30672654c5 docs make all link start with /react/docs 2013-12-19 17:15:01 -05:00
Kit Randel
08babd2541 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
42dee34146 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
f7103a8629 Make state immutable in tutorial (eek) 2013-11-08 13:27:20 -08:00
Paul O’Shannessy
9f3ef1b6ac Remove jQuery version number from tutorial docs 2013-11-05 11:29:00 -08:00
Ben Alpert
5386cd9665 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
6c1e8e8a66 Update tutorial to use className 2013-11-04 17:04:25 -08:00
Paul O’Shannessy
fc0b68af28 Fix 404s to non-existent API docs 2013-09-24 16:00:52 -07:00
Ben Alpert
364d6029b6 Flesh out reference documentation, more API info 2013-09-17 16:01:57 -07:00
Brian Rue
403b087e97 Tutorial: show how to add showdown.js 2013-08-30 16:29:01 -07:00
Paul O’Shannessy
e11c4ecbaf [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
cfe4152b1d Fix broken tutorial link and change wording 2013-08-21 22:38:44 -07:00
Hugo Jobling
4ab62a6bd2 remove dead link
the event handling doc page no longer exists
2013-07-18 11:05:39 +01:00
Hugo Jobling
07427ae9d0 put closing paren in correct place 2013-07-18 10:44:22 +01:00
Hugo Jobling
8f55d94d40 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
6009934176 cleanup some files, move tutorial 2013-07-14 18:35:59 -07:00
petehunt
b2107ba80b update and move tutorial 2013-07-14 17:49:07 -07:00
Mathieu M-Gosselin
703c825196 Changed JSON data in the tutorial to use double quotes for strings. 2013-06-26 16:24:51 -04:00
Greg Roodt
f016479289 Update tutorial.md
The ajax call happens every 5 seconds, not every 60 seconds.
2013-06-15 10:15:42 +03:00
dschafer
24f523a351 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
095fccb974 ReactDOM->React.DOM 2013-06-01 13:01:52 -07:00
petehunt
824a2e0630 Merge pull request #33 from spicyj/docs-fix
Update stale event docs in tutorial
2013-05-31 09:52:20 -07:00
Ben Alpert
2e5dae0c25 Add return false; to onSubmit handlers 2013-05-31 01:46:55 -07:00
Ben Alpert
767391c26e Wording tweaks 2013-05-30 20:21:44 -07:00
Ben Alpert
ea82dba555 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
c5612b34c9 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
cd665be43e Introducing a submit button in the tutorial's comment form 2013-05-30 16:54:30 +02:00
Paul Seiffert
39c4414d5a Highlighting the correct line 2013-05-30 16:22:11 +02:00
petehunt
9415d839a5 add a link to my tutorial repo 2013-05-29 22:41:28 -07:00
Paul O’Shannessy
75897c2dcd Initial public release 2013-05-29 12:54:02 -07:00