Update flux
This commit is contained in:
parent
cdca306623
commit
89e2a667bf
2
flux.md
2
flux.md
|
@ -15,6 +15,7 @@ layout: default
|
||||||
|
|
||||||
## Dispatcher
|
## Dispatcher
|
||||||
|
|
||||||
|
### Pub-sub
|
||||||
[A dispatcher][dispatcher] emits events (`.dispatch()`) to its listeners (`.register(fn)`).
|
[A dispatcher][dispatcher] emits events (`.dispatch()`) to its listeners (`.register(fn)`).
|
||||||
|
|
||||||
```js
|
```js
|
||||||
|
@ -73,6 +74,7 @@ var AppDispatcher = assign({}, Dispatcher.prototype, {
|
||||||
|
|
||||||
## Stores
|
## Stores
|
||||||
|
|
||||||
|
### Plain objects
|
||||||
Stores are just like objects.
|
Stores are just like objects.
|
||||||
|
|
||||||
```js
|
```js
|
||||||
|
|
Loading…
Reference in New Issue