Skip to content

Commit e6941e3

Browse files
committed
Merge pull request #1934 from sprjr/patch-1
Updating README.md
2 parents a06f226 + e6675fa commit e6941e3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ Then with a module bundler or webpack, use as you would anything else:
3535
import { Router, Route, Link } from 'react-router'
3636

3737
// not using an ES6 transpiler
38-
const ReactRouter = require('react-router')
39-
const Router = ReactRouter.Router
40-
const Route = ReactRouter.Route
41-
const Link = ReactRouter.Link
38+
var ReactRouter = require('react-router')
39+
var Router = ReactRouter.Router
40+
var Route = ReactRouter.Route
41+
var Link = ReactRouter.Link
4242
```
4343

4444
You can require only the pieces you need straight from the `lib` directory:

0 commit comments

Comments
 (0)