File tree 26 files changed +29
-29
lines changed
26 files changed +29
-29
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import ReactDOM from 'react-dom';
6
6
import { ReduxRouter } from 'redux-router' ;
7
7
import { Provider } from 'react-redux' ;
8
8
9
- import routes from './routes.jsx ' ;
9
+ import routes from './routes.js ' ;
10
10
11
11
import configureStore from './redux/configure-store.js' ;
12
12
File renamed without changes.
Original file line number Diff line number Diff line change 1
1
import React from 'react' ;
2
2
3
- import TwitterButton from './../TwitterButton/TwitterButton.jsx ' ;
3
+ import TwitterButton from './../TwitterButton/TwitterButton.js ' ;
4
4
5
5
const Footer = ( ) => (
6
6
< footer className = "footer container" >
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change 1
1
import React from 'react' ;
2
2
3
- import Panel from '../common/Panel.jsx ' ;
4
- import Tr from '../common/Tr.jsx ' ;
5
- import DisplayInfosPanel from '../common/DisplayInfosPanel.jsx ' ;
3
+ import Panel from '../common/Panel.js ' ;
4
+ import Tr from '../common/Tr.js ' ;
5
+ import DisplayInfosPanel from '../common/DisplayInfosPanel.js ' ;
6
6
7
7
const Profile = ( { profile} ) => {
8
8
if ( profile && profile . data ) {
File renamed without changes.
Original file line number Diff line number Diff line change 1
1
import React from 'react' ;
2
2
import { Link } from 'react-router' ;
3
3
4
- import ProfileBox from './../ProfileBox/ProfileBox.jsx ' ;
4
+ import ProfileBox from './../ProfileBox/ProfileBox.js ' ;
5
5
6
6
const ProfileList = ( { results} ) => {
7
7
if ( results === null ) {
Original file line number Diff line number Diff line change 1
1
import React from 'react' ;
2
2
3
- import Panel from '../common/Panel.jsx ' ;
4
- import DisplayInfosPanel from '../common/DisplayInfosPanel.jsx ' ;
5
- import DisplayStars from '../common/DisplayStars.jsx ' ;
6
- import ReposPaginator from '../ReposPaginator/ReposPaginator.jsx ' ;
3
+ import Panel from '../common/Panel.js ' ;
4
+ import DisplayInfosPanel from '../common/DisplayInfosPanel.js ' ;
5
+ import DisplayStars from '../common/DisplayStars.js ' ;
6
+ import ReposPaginator from '../ReposPaginator/ReposPaginator.js ' ;
7
7
8
8
export default class Repos extends React . Component {
9
9
Original file line number Diff line number Diff line change 1
1
import React from 'react' ;
2
2
3
- import Spinner from '../common/Spinner.jsx ' ;
3
+ import Spinner from '../common/Spinner.js ' ;
4
4
5
5
export default class ReposPaginator extends React . Component {
6
6
Original file line number Diff line number Diff line change 1
1
import React from 'react' ;
2
- import ProfileList from './../ProfileList/ProfileList.jsx ' ;
3
- import Spinner from '../common/Spinner.jsx ' ;
2
+ import ProfileList from './../ProfileList/ProfileList.js ' ;
3
+ import Spinner from '../common/Spinner.js ' ;
4
4
5
5
/**
6
6
* This component doesn't have state nor it has to know about connect or redux.
File renamed without changes.
Original file line number Diff line number Diff line change 1
1
import React from 'react' ;
2
2
3
- import Panel from './Panel.jsx ' ;
4
- import Spinner from './Spinner.jsx ' ;
3
+ import Panel from './Panel.js ' ;
4
+ import Spinner from './Spinner.js ' ;
5
5
6
6
const DisplayInfosPanel = ( { infos, originalTitle} ) => {
7
7
const fetching = infos ? infos . fetching : false ;
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change @@ -2,8 +2,8 @@ import React from 'react';
2
2
3
3
import { connect } from 'react-redux' ;
4
4
5
- import Header from '../../components/Header/Header.jsx ' ;
6
- import Footer from '../../components/Footer/Footer.jsx ' ;
5
+ import Header from '../../components/Header/Header.js ' ;
6
+ import Footer from '../../components/Footer/Footer.js ' ;
7
7
8
8
const App = ( { children } ) => {
9
9
return (
Original file line number Diff line number Diff line change 1
1
import React from 'react' ;
2
2
3
- import IntroBox from '../../components/IntroBox/IntroBox.jsx ' ;
4
- import SearchBox from '../../components/SearchBox/SearchBox.jsx ' ;
3
+ import IntroBox from '../../components/IntroBox/IntroBox.js ' ;
4
+ import SearchBox from '../../components/SearchBox/SearchBox.js ' ;
5
5
6
6
import { connect } from 'react-redux' ;
7
7
import { bindActionCreators } from 'redux' ;
Original file line number Diff line number Diff line change 1
1
import React from 'react' ;
2
2
3
- import Profile from '../../components/Profile/Profile.jsx ' ;
4
- import Repos from '../../components/Repos/Repos.jsx ' ;
3
+ import Profile from '../../components/Profile/Profile.js ' ;
4
+ import Repos from '../../components/Repos/Repos.js ' ;
5
5
6
6
import { connect } from 'react-redux' ;
7
7
import { bindActionCreators } from 'redux' ;
File renamed without changes.
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import { Link } from 'react-router';
3
3
4
4
import { connect } from 'react-redux' ;
5
5
6
- import CounterButton from '../../components/CounterButton/CounterButton.jsx ' ;
6
+ import CounterButton from '../../components/CounterButton/CounterButton.js ' ;
7
7
8
8
const Redux = ( { counter } ) => {
9
9
return (
Original file line number Diff line number Diff line change 1
- export { default as App } from './App/App.jsx ' ;
2
- export { default as Github } from './Github/Github.jsx ' ;
3
- export { default as GithubUser } from './GithubUser/GithubUser.jsx ' ;
4
- export { default as Home } from './Home/Home.jsx ' ;
5
- export { default as Redux } from './Redux/Redux.jsx ' ;
1
+ export { default as App } from './App/App.js ' ;
2
+ export { default as Github } from './Github/Github.js ' ;
3
+ export { default as GithubUser } from './GithubUser/GithubUser.js ' ;
4
+ export { default as Home } from './Home/Home.js ' ;
5
+ export { default as Redux } from './Redux/Redux.js ' ;
File renamed without changes.
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import expect from 'expect';
2
2
import TestUtils from 'react-addons-test-utils' ;
3
3
import React from 'react' ;
4
4
5
- import { CounterButton } from '../../../src/components/CounterButton/CounterButton.jsx ' ;
5
+ import { CounterButton } from '../../../src/components/CounterButton/CounterButton.js ' ;
6
6
7
7
function setup ( { counter = 0 } = { } ) {
8
8
const props = {
Original file line number Diff line number Diff line change @@ -125,7 +125,7 @@ var config = {
125
125
entry : {
126
126
"js/bundle" : [
127
127
'webpack/hot/only-dev-server' , //removed on build mode
128
- "./src/bootstrap.jsx "
128
+ "./src/bootstrap.js "
129
129
] ,
130
130
"css/main" : "./src/style/main.scss"
131
131
} ,
You can’t perform that action at this time.
0 commit comments