Skip to content

Commit

Permalink
Upgrade to React 0.4, fully compilant
Browse files Browse the repository at this point in the history
- Compilant with coding style.
- Removed app.css. No need anymore since we freed id.
- Render info footer separately (specs).
- Tweak footer to make it pass jshint when compiled:
  - {''} after 'left'.
  - {''} around `clear completed`.
  - Breaking style for footer clearButton, `>` on the same line.
- Rename cx and put it in Utils.
- Routing with director.
- Change some keyUp to keyDown (specs).
- Strip form tags (specs? Referred to the stable ones).
- Trim after editing item.
- Manually autofocus (attribute not supported in ie9).
- Input focus now triggers as a callback (because of batch rendering).
- Controlled input.
- Gutter at 80.
- Class `completed` trim whitespace.
- Remove bind.
  • Loading branch information
chenglou committed Jul 25, 2013
1 parent 26bdbb2 commit 1b16a19
Show file tree
Hide file tree
Showing 19 changed files with 12,923 additions and 10,204 deletions.
2 changes: 1 addition & 1 deletion labs/architecture-examples/react/bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"version": "0.0.0",
"dependencies": {
"todomvc-common": "~0.1.7",
"react": "~0.3.2"
"react": "~0.4.0"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"name": "react",
"version": "0.4.0",
"main": "react.js",
"homepage": "https://github.com/facebook/react-bower",
"_release": "0.4.0",
"_resolution": {
"type": "version",
"tag": "v0.4.0",
"commit": "54334ad626d26dff4c214d308cefd30ad80fb8e9"
},
"_source": "git://github.com/facebook/react-bower.git",
"_target": "~0.4.0"
}
Loading

0 comments on commit 1b16a19

Please sign in to comment.