Skip to content

Commit d277dc9

Browse files
committed
formatting
1 parent 1363d22 commit d277dc9

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

docs/guides/flux.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ React Router in a Flux App
22
==========================
33

44
```js
5-
///////////////////////////////////////////////////////////
65
// router.js
76
var routes = require('./routes');
87
var Router = require('react-router');
@@ -14,9 +13,10 @@ var router = Router.create({
1413
});
1514

1615
module.exports = router;
16+
```
1717

18-
///////////////////////////////////////////////////////////
19-
//SomeActions.js
18+
```js
19+
// SomeActions.js
2020

2121
// and then action creators can require it like other
2222
// singletons in the app (or if you don't use singletons,
@@ -29,8 +29,9 @@ module.exports = {
2929
router.transitionTo('somewhere');
3030
}
3131
};
32+
```
3233

33-
///////////////////////////////////////////////////////////
34+
```js
3435
// main.js
3536

3637
// finally, run it in your main script

0 commit comments

Comments
 (0)