File tree 2 files changed +13
-13
lines changed
2 files changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -6,21 +6,21 @@ import { Provider } from 'react-redux';
6
6
import App from './components/App.jsx' ;
7
7
import './components/Gmap.jsx' ;
8
8
9
- let initialState = {
9
+ const initialState = {
10
10
users : {
11
11
1234 : {
12
12
name : 'Sepehr' ,
13
13
bio : 'This is Sepehr' ,
14
14
lat : 37.782917 ,
15
- lng : - 122.406350
15
+ lng : - 122.406350 ,
16
16
} ,
17
17
4523 : {
18
18
name : 'Leo' ,
19
19
bio : 'This is Leo' ,
20
20
lat : 37.784617 ,
21
- lng : - 122.416645
22
- }
23
- }
21
+ lng : - 122.416645 ,
22
+ } ,
23
+ } ,
24
24
} ;
25
25
26
26
let store = configureStore ( initialState ) ;
@@ -31,4 +31,4 @@ render(
31
31
< App />
32
32
</ Provider > ,
33
33
document . getElementById ( 'app' )
34
- ) ;
34
+ ) ;
Original file line number Diff line number Diff line change @@ -7,13 +7,13 @@ module.exports = {
7
7
devtool : debug ? 'inline-sourcemap' : null ,
8
8
entry : [ 'webpack-hot-middleware/client' , './client/webpackEntry.js' ] ,
9
9
module : {
10
- // preLoaders: [
11
- // {
12
- // test: /\.jsx?$/,
13
- // loader: 'eslint',
14
- // exclude: /(node_modules|bower_components)/,
15
- // },
16
- // ],
10
+ preLoaders : [
11
+ {
12
+ test : / \. j s x ? $ / ,
13
+ loader : 'eslint' ,
14
+ exclude : / ( n o d e _ m o d u l e s | b o w e r _ c o m p o n e n t s ) / ,
15
+ } ,
16
+ ] ,
17
17
loaders : [
18
18
{
19
19
test : / \. j s x ? $ / ,
You can’t perform that action at this time.
0 commit comments