Skip to content

Commit

Permalink
[changed] npm registry name to react-router :D
Browse files Browse the repository at this point in the history
Thanks for joining forces @jaredly!
  • Loading branch information
ryanflorence committed Jul 24, 2014
1 parent 56cbe2f commit 0be4bf7
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Installation
------------

```sh
npm install react-nested-router
npm install react-router
# or
bower install react-router
```
Expand All @@ -47,7 +47,7 @@ Usage
-----

```
var Route = require('react-nested-router').Route;
var Route = require('react-router').Route;
React.renderComponent((
<Route handler={App}>
Expand Down Expand Up @@ -88,7 +88,7 @@ will render the active child route handler.
Here's the rest of the application:

```js
var Link = require('react-nested-router').Link;
var Link = require('react-router').Link;

var App = React.createClass({
render: function() {
Expand Down Expand Up @@ -339,7 +339,7 @@ active -->
The router has several top-level methods that may be used to navigate around the application.

```js
var Router = require('react-nested-router')
var Router = require('react-router')
```

**transitionTo(routeNameOrPath, [params[, query]])** - Programatically transition to a new route.
Expand Down
6 changes: 3 additions & 3 deletions bower.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "react-nested-router",
"name": "react-router",
"version": "0.3.5",
"homepage": "https://github.com/rpflorence/react-nested-router",
"homepage": "https://github.com/rpflorence/react-router",
"authors": [
"Ryan Florence",
"Michael Jackson"
Expand All @@ -26,4 +26,4 @@
"package.json",
"webpack.config.js"
]
}
}
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "react-nested-router",
"name": "react-router",
"version": "0.3.5",
"description": "A complete routing library for React.js",
"tags": [
Expand All @@ -9,9 +9,9 @@
"main": "modules/main",
"repository": {
"type": "git",
"url": "https://github.com/rpflorence/react-nested-router.git"
"url": "https://github.com/rpflorence/react-router.git"
},
"homepage": "https://github.com/rpflorence/react-nested-router",
"homepage": "https://github.com/rpflorence/react-router",
"directories": {
"example": "examples"
},
Expand Down Expand Up @@ -54,4 +54,4 @@
"browserify-shim": {
"react": "global:React"
}
}
}

0 comments on commit 0be4bf7

Please sign in to comment.