Ben Alpert
4a7ec73d13
Add dataType to all $.ajax calls for consistency
Fixes https://groups.google.com/forum/#!topic/reactjs/WWA3ZqU6y4w .
11 years ago
Ben Alpert
64a5570c1c
Move initial $.ajax out of getInitialState
We want to encourage people to make pure getInitialState functions.
11 years ago
Ivan Kozik
91a049a45e
console.log -> console.error
11 years ago
Ivan Kozik
81f24d13e6
Add a warning about the @jsx declaration
11 years ago
Ivan Kozik
c72efb80c5
Use explicit $.ajax dataType and add error callback
11 years ago
Vjeux
8d938e4a32
Add a talks section to the docs
11 years ago
Cheng Lou
0767e7b9dd
docs make all link start with /react/docs
11 years ago
Kit Randel
990e1e4142
Tutorial template markup needs a reference to jquery for the ajax calls
from step 13 onwards.
11 years ago
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.
11 years ago
petehunt
ee83ad9f88
Make state immutable in tutorial (eek)
11 years ago
Paul O’Shannessy
67d4e7ebaf
Remove jQuery version number from tutorial docs
11 years ago
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!).
11 years ago
petehunt
7c9eb94833
Update tutorial to use className
11 years ago
Paul O’Shannessy
e484a734b5
Fix 404s to non-existent API docs
11 years ago
Ben Alpert
f566b56ed1
Flesh out reference documentation, more API info
11 years ago
Brian Rue
93a516e41b
Tutorial: show how to add showdown.js
12 years ago
Paul O’Shannessy
3996d95131
[docs] Small tweaks as reported in comments
* highlight `</form>`
* use correct id in `getElementById` call
12 years ago
Clay Allsopp
700c3e24cd
Fix broken tutorial link and change wording
12 years ago
Hugo Jobling
091697a887
remove dead link
the event handling doc page no longer exists
12 years ago
Hugo Jobling
79fca32e1b
put closing paren in correct place
12 years ago
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.
12 years ago
petehunt
85a7336741
cleanup some files, move tutorial
12 years ago
petehunt
1263fde643
move docs around, add likebutton
12 years ago
petehunt
e874be922a
tweak the source
12 years ago
petehunt
7d77fd17ea
update and move tutorial
12 years ago
Mathieu M-Gosselin
38db22b954
Changed JSON data in the tutorial to use double quotes for strings.
12 years ago
Greg Roodt
ddb326a029
Update tutorial.md
The ajax call happens every 5 seconds, not every 60 seconds.
12 years ago
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.
12 years ago
petehunt
394d23f848
ReactDOM->React.DOM
12 years ago
Ben Alpert
1fc75432da
Add `return false;` to onSubmit handlers
12 years ago
Ben Alpert
441302ee6e
Wording tweaks
12 years ago
Ben Alpert
ccd06e728a
Update stale event docs in tutorial
The example uses onSubmit but the docs were still referring to onKeyUp.
12 years ago
Paul Seiffert
c09a1bd376
Introducing a submit button in the tutorial's comment form
12 years ago
Paul Seiffert
2e0837a574
Highlighting the correct line
12 years ago
petehunt
8e7d880c27
add a link to my tutorial repo
12 years ago
Paul O’Shannessy
eb278167cd
Initial public release
12 years ago