volkanunsal
035a648a2d
Update Dispatcher.js
2014-05-05 12:20:25 -04:00
volkanunsal
c81c07c816
Update Dispatcher.js
2014-05-04 19:15:44 -04:00
volkanunsal
a7823a3624
Update Dispatcher.js
2014-05-04 19:08:46 -04:00
volkanunsal
31477dbf94
Update Dispatcher.js
...
I think Array.filter expects a boolean return value, am I correct?
2014-05-04 19:04:51 -04:00
Ben Alpert
f1096c6bb3
Fix ASCII-art arrow alignment
2014-05-03 23:45:12 -03:00
Pete Hunt
b02a5dc0f8
Merge pull request #1479 from fisherwebdev/master
...
Clean up Flux documentation and add more info about dependencies btwn stores
2014-05-02 23:56:06 +02:00
fisherwebdev
b0f82bfe4c
Clean up Flux documentation and add more info about managing dependencies between stores
2014-05-02 13:22:15 -07:00
Kyle Mathews
72b830ec4c
Typo
2014-05-02 11:10:13 -07:00
petehunt
fa154e6e21
Add some backticks to flux docs
2014-05-02 16:44:43 +02:00
fisherwebdev
b97cf7a180
Additional Flux documentation
2014-05-02 07:17:49 -07:00
Andrey Popp
93fed1a459
Add basic CommonJS example with browserify
2014-04-29 21:57:08 +04:00
petehunt
9a78db3457
Initial add
...
Add readme
remove gitignore
fix graphic
2014-04-04 18:47:33 -07:00
fisherwebdev
85339bfdae
TodoMVC Flux Example
2014-03-26 12:13:17 -07:00
Jeff Carpenter
652f5aea28
Remove unused variable
2014-03-10 19:48:13 -07:00
Pete Hunt
f34f0d2912
Update README.md
2014-02-24 14:25:09 -08:00
Cheng Lou
2f0507f730
Remove TodoMVCs from examples/
...
Fixes #1154 .
Added a README to point to TodoMVC's site instead.
2014-02-21 14:31:54 -08:00
Ben Alpert
7b5da078c6
Make transitions example use CSSTransitionGroup
2014-02-16 14:11:42 -08:00
Fernando Correia
425fd2ca08
jQuery Mobile React Example
2014-01-12 17:04:42 -02:00
Ben Alpert
be75e3be66
Remove mentions of browserify in examples
2014-01-03 22:58:51 -07:00
David Hellsing
a79ef7fc29
Changed key from Math.random() to todo.cid
...
It doesn’t make much sense to generate a random key for each todo render, because it will re-draw all todo’s DOM nodes on each model change. I changed it to the unique identifier ``todo.cid`` already supplied by the backbone model.
2013-11-26 18:07:56 +01:00
Pete Hunt
dab167c0e3
Merge pull request #460 from chenglou/opacity-1
...
fix doc & example transition opacity from .99 to 1
2013-11-13 17:31:08 -08:00
Cheng Lou
d6cbc710bd
remove examples/wrapup
...
Apparently it's no longer relevant.
2013-11-03 15:41:40 -05:00
Cheng Lou
e455e28ff8
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-10-31 17:35:38 -04: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 and Paul O’Shannessy
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