Commit Graph

27 Commits

Author SHA1 Message Date
Cheng Lou
fb1a072739 fix doc & example transition opacity from .99 to 1
The initial thought was that an opacity animation from 0.01 to 1 causes trouble on some browser. But after testing on opera 12.15, ff 23, ie 10, chrome 30, desktop/mobile safari 7 and chrome android I confirm this works.
2013-11-13 17:55:03 -08:00
Paul O’Shannessy
7da874d835 Add TransitionGroup example 2013-10-08 16:49:11 -07:00
Paul O’Shannessy
848a8e1180 Remove animation "example"
It was never a real example and shouldn't have been checked in.
2013-09-25 11:08:24 -07:00
Paul O’Shannessy
d83fe785c5 Stop transforming class -> className
Update the broken examples too (`git grep class=`)
2013-09-09 15:37:43 -07:00
Cheng Lou
78d305eb16 Fix backbone todo example bugs.
Fixed:
- New todo not submitting correctly (page refreshes. `preventDefault`
wasn't there.
- Old checked todo being removed will leave the checkmark on the next
todo replacing its position.
- Cannot change todo (`value`'s now a controlled field).
- `autofocus` (should be `autoFocus`, how ironic given the current
situation) on new todo input isn't working. Switched to manual
`focus()` in `componentDidMount` for now.
- More consistent breathing space between lines.
- Gutter at 80.

Added:
- Use todomvc-common base.css. The old one had to change ids to
classes. No longer necessary.
- Give `cx` a better name and move it in `Utils`.
- Trim input upon finishing edit.
- Remove todo if the new edited value is empty.
- Submit edited todo value on input blur.
- README to explain the existence of this example. Being able to
maintain a non-compilant version allows nice deviations from the
todomvc specs, such as animations, in the future.
2013-09-07 17:44:05 -04:00
Cheng Lou
2b9c34b5c7 sync with tastejs todomvc 2013-08-31 21:54:37 -04:00
Peter Cottle
a21556314d Fix Github links in examples
Looks like we link to github.com/facebook/react/ instead of react-js. This just fixes the links

`grep -r "facebook/react.js" .` comes up clean now
2013-08-04 16:40:12 -07:00
Daniel Gasienica
6f2848f4a6 Fix incorrect port of standard Python server
/ht @zpao
2013-07-29 10:59:43 -07:00
Cheng Lou
7f8b2885d9 fix jquery-bootstrap example bugs
Old one had some bugs:
- 'x' on modal wasn't showing.
- trying to close modal in unmount, but modal had a closing animation.
2013-07-23 11:01:42 -07:00
Cheng Lou
73ceb5a401 upgrade example to 0.4
manually tested
2013-07-20 16:05:25 -04:00
Paul O’Shannessy
0c1f2720b3 Remove React.autoBind from examples 2013-07-17 11:33:31 -07:00
Paul O’Shannessy
1e76d84569 Merge pull request #32 from spicyj/input
Add new onInput event
2013-06-05 14:57:25 -07:00
petehunt
dd92335dc4 Merge pull request #46 from jordow/ChromeInstructions
Adding instructions for chrome. (No server needed! Just execute a single...
2013-06-03 03:22:19 -07:00
jordow
8c37499af8 Adding instructions for chrome. (No server needed! Just execute a single command
line to load in Chrome).
2013-06-03 02:43:48 -07:00
petehunt
a32276e400 Fix bug in todomvc 2013-06-03 00:44:20 -07:00
petehunt
83b8ad7a31 Add TODOMVC features 2013-06-03 00:34:23 -07:00
Ben Alpert
6e805dda24 Change TodoMVC to not modify state in place
Instead, use .concat and make a new todos array.

Test Plan:
Added todo items successfully.
2013-05-30 20:19:19 -07:00
Ben Alpert
2467c0e651 Update examples to use onInput instead of onKeyUp
onInput has the advantage that it responds to repeated key events before
onKeyUp and is called when modifying the input without the keyboard
(such as pasting with the mouse).

Test Plan:
Opened the ballmer-peak example and docs homepage in Chrome and checked
that both examples update whenever the text is changed.
2013-05-30 18:20:34 -07:00
petehunt
a808d48169 add localstorage, oops 2013-05-30 14:19:33 -07:00
petehunt
a52512863e Clean up todomvc examples: autoBind(), onSubmit 2013-05-30 11:53:23 -07:00
petehunt
4297b1ad55 remove unused const 2013-05-30 11:53:23 -07:00
petehunt
c7d2760521 Move backbone integration into its own mixin 2013-05-30 04:35:42 -07:00
petehunt
875782cc0a sync more with backbone 2013-05-30 04:18:40 -07:00
petehunt
036e11c9ee more backbone fixes 2013-05-30 04:11:07 -07:00
petehunt
b4c0661dce Make more idiomatic 2013-05-30 03:38:42 -07:00
petehunt
56dbec46db Fix backbone todomvc example 2013-05-30 03:35:45 -07:00
Paul O’Shannessy
75897c2dcd Initial public release 2013-05-29 12:54:02 -07:00