forked from react-bootstrap/react-bootstrap
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
re add react to devDeps remove old or depreciated API's Remove getDOMNode classSet, joinClasses, CloneWithProps Fix case on require() typos, and syntax errors update AMD, cjs package def fix tests Removed test dependence on root refs [FIX] Docs, upgrade to react-router
- Loading branch information
Showing
71 changed files
with
386 additions
and
551 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,15 @@ | ||
'use strict'; | ||
|
||
var React = require('react'); | ||
var Root = require('./src/Root'); | ||
var Router = require('react-router'); | ||
var routes = require('./src/Routes'); | ||
|
||
// For React devtools | ||
window.React = React; | ||
|
||
React.render(React.createFactory(Root)(window.INITIAL_PROPS), document); | ||
Router.run(routes, Router.RefreshLocation, function (Handler) { | ||
React.render( | ||
React.createElement(Handler, window.INITIAL_PROPS), document); | ||
}) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
var React = require('react'); | ||
|
||
var Root = require('./Root'); | ||
var HomePage = require('./HomePage'); | ||
var GettingStartedPage = require('./GettingStartedPage'); | ||
var ComponentsPage = require('./ComponentsPage'); | ||
var NotFoundPage = require('./NotFoundPage'); | ||
|
||
var Router = require('react-router'); | ||
|
||
|
||
module.exports = ( | ||
<Router.Route name="app" path="/" handler={Root}> | ||
<Router.DefaultRoute handler={HomePage}/> | ||
<Router.NotFoundRoute handler={NotFoundPage} /> | ||
|
||
<Router.Route name='home' path="index.html" handler={HomePage} /> | ||
<Router.Route name='getting-started' path="getting-started.html" handler={GettingStartedPage} /> | ||
<Router.Route name='components' path="components.html" handler={ComponentsPage} /> | ||
</Router.Route> | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,7 +25,7 @@ | |
"author": "Stephen J. Collings <[email protected]>", | ||
"license": "MIT", | ||
"peerDependencies": { | ||
"react": ">=0.12" | ||
"react": ">=0.13" | ||
}, | ||
"devDependencies": { | ||
"async": "~0.2.9", | ||
|
@@ -55,12 +55,13 @@ | |
"karma-script-launcher": "~0.1.0", | ||
"karma-sinon": "^1.0.3", | ||
"mocha": "~1.16.2", | ||
"react": "~0.12.0", | ||
"react-async": "~2.0.0", | ||
"react-router-component": "git://github.com/STRML/react-router-component#react-0.12", | ||
"react": "0.13.0", | ||
"requirejs": "~2.1.9", | ||
"rf-changelog": "^0.4.0", | ||
"semver": "~2.0.7", | ||
"sinon": "^1.10.3" | ||
}, | ||
"dependencies": { | ||
"classnames": "^1.1.4" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.