File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,6 +2,5 @@ CONTRIBUTING.md
22bower.json
33examples
44karma.conf.js
5- scripts
5+ script
66specs
7- webpack.config.js
Original file line number Diff line number Diff line change 11{
2- "name" : " react-router " ,
3- "version" : " 0.7 .0" ,
4- "homepage" : " https://github.com/rackt/react-router " ,
2+ "name" : " react-modal " ,
3+ "version" : " 0.0 .0" ,
4+ "homepage" : " https://github.com/rackt/react-modal " ,
55 "authors" : [
66 " Ryan Florence" ,
77 " Michael Jackson"
88 ],
99 "description" : " A complete routing library for React.js" ,
10- "main" : " dist/react-router .js" ,
10+ "main" : " dist/react-modal .js" ,
1111 "keywords" : [
1212 " react" ,
13- " router"
13+ " modal" ,
14+ " dialog"
1415 ],
1516 "license" : " MIT" ,
1617 "ignore" : [
2324 " script" ,
2425 " CONTRIBUTING.md" ,
2526 " karma.conf.js" ,
26- " package.json" ,
27- " webpack.config.js"
27+ " package.json"
2828 ]
29- }
29+ }
Original file line number Diff line number Diff line change 55 "main" : " ./modules/index" ,
66 "repository" : {
77 "type" : " git" ,
8- "url" : " https://github.com/rackt/react-router .git"
8+ "url" : " https://github.com/rackt/react-modal .git"
99 },
10- "homepage" : " https://github.com/rackt/react-router " ,
11- "bugs" : " https://github.com/rackt/react-router /issues" ,
10+ "homepage" : " https://github.com/rackt/react-modal " ,
11+ "bugs" : " https://github.com/rackt/react-modal /issues" ,
1212 "directories" : {
1313 "example" : " examples"
1414 },
1515 "scripts" : {
1616 "test" : " scripts/test --browsers Firefox --single-run"
1717 },
1818 "authors" : [
19- " Ryan Florence" ,
20- " Michael Jackson"
19+ " Ryan Florence"
2120 ],
2221 "license" : " MIT" ,
2322 "devDependencies" : {
4443 "dependencies" : {},
4544 "tags" : [
4645 " react" ,
47- " router"
46+ " modal" ,
47+ " dialog"
4848 ],
4949 "keywords" : [
5050 " react" ,
5151 " react-component" ,
52- " routing" ,
53- " route" ,
54- " routes" ,
55- " router"
52+ " modal" ,
53+ " dialog"
5654 ],
5755 "browserify-shim" : {
5856 "react" : " global:React"
Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+ mkdir -p dist
3+ NODE_ENV=production node_modules/.bin/browserify lib/index.js \
4+ -t reactify \
5+ -t browserify-shim \
6+ -t envify \
7+ --detect-globals false \
8+ -s ReactModal > dist/react-modal.js
9+ node_modules/.bin/uglifyjs dist/react-modal \
10+ --compress warnings=false > dist/react-modal.min.js
11+
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -3,25 +3,3 @@ expect = require('expect');
33React = require ( 'react/addons' ) ;
44ReactTestUtils = React . addons . TestUtils ;
55
6- refute = function ( condition , message ) {
7- assert ( ! condition , message ) ;
8- } ;
9-
10- var RouteStore = require ( '../modules/stores/RouteStore' ) ;
11-
12- beforeEach ( function ( ) {
13- RouteStore . unregisterAllRoutes ( ) ;
14- } ) ;
15-
16- var transitionTo = require ( '../modules/actions/LocationActions' ) . transitionTo ;
17- var MemoryLocation = require ( '../modules/locations/MemoryLocation' ) ;
18- var PathStore = require ( '../modules/stores/PathStore' ) ;
19-
20- beforeEach ( function ( ) {
21- PathStore . setup ( MemoryLocation ) ;
22- transitionTo ( '/' ) ;
23- } ) ;
24-
25- afterEach ( function ( ) {
26- PathStore . teardown ( ) ;
27- } ) ;
You can’t perform that action at this time.
0 commit comments