Skip to content

Commit 3a4732e

Browse files
committed
[changed] global export to ReactRouter
react-nested-router is already taken on bower
1 parent 75ae0fc commit 3a4732e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,15 @@ Installation
2727
```sh
2828
npm install react-nested-router
2929
# or
30-
bower install react-nested-router
30+
bower install react-router
3131
```
3232

3333
This library is written with CommonJS modules. If you are using
3434
browserify, webpack, or similar, you can consume it like anything else
3535
installed from npm.
3636

3737
There is also a UMD build available on bower, find the library on
38-
`window.ReactNestedRouter`.
38+
`window.ReactRouter`.
3939

4040
Usage
4141
-----

script/build

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/bin/sh
22
mkdir -p dist
3-
NODE_ENV=production node_modules/.bin/browserify modules/main.js --detect-globals false -s ReactNestedRouter > dist/react-nested-router.js
3+
NODE_ENV=production node_modules/.bin/browserify modules/main.js --detect-globals false -s ReactRouter > dist/react-nested-router.js
44
node_modules/.bin/uglifyjs dist/react-nested-router.js --compress warnings=false > dist/react-nested-router.min.js

0 commit comments

Comments
 (0)