Skip to content

Commit 5928b75

Browse files
committed
Merge branch 'master' of github.com:reactjs/react-tutorial
2 parents 2ddef37 + be3fa27 commit 5928b75

File tree

5 files changed

+1
-145
lines changed

5 files changed

+1
-145
lines changed

README.md

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,6 @@ pip install -r requirements.txt
2222
python server.py
2323
```
2424

25-
### Haskell
26-
27-
```sh
28-
cabal sandbox init
29-
cabal install --only-dependencies
30-
ghc Server.hs
31-
./Server
32-
```
33-
3425
### Ruby
3526
```sh
3627
ruby server.rb
@@ -46,14 +37,6 @@ php server.php
4637
go run server.go
4738
```
4839

49-
### Lua
50-
51-
```sh
52-
go get github.com/xyproto/algernon
53-
# or brew install algernon
54-
algernon server.lua
55-
```
56-
5740
### Perl
5841

5942
```sh

Server.hs

Lines changed: 0 additions & 62 deletions
This file was deleted.

public/scripts/example.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ var CommentBox = React.createClass({
5555
this.setState({data: data});
5656
}.bind(this),
5757
error: function(xhr, status, err) {
58+
this.setState({data: comments});
5859
console.error(this.props.url, status, err.toString());
5960
}.bind(this)
6061
});

react-scotty.cabal

Lines changed: 0 additions & 28 deletions
This file was deleted.

server.lua

Lines changed: 0 additions & 38 deletions
This file was deleted.

0 commit comments

Comments
 (0)