File tree 5 files changed +7
-7
lines changed
5 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -25481,7 +25481,7 @@ var receiveLibrary = function receiveLibrary(items) {
25481
25481
var fetchLibrary = function fetchLibrary(id) {
25482
25482
return function (dispatch) {
25483
25483
dispatch(requestLibrary());
25484
- return (0, _isomorphicFetch2.default)('/ library/js/' + id + '.json').then(function (response) {
25484
+ return (0, _isomorphicFetch2.default)('library/js/' + id + '.json').then(function (response) {
25485
25485
return response.json();
25486
25486
}).then(function (items) {
25487
25487
return dispatch(receiveLibrary(items));
Original file line number Diff line number Diff line change 3
3
< title > Lambda Bricks</ title >
4
4
< meta charset ="UTF-8 ">
5
5
6
- < link rel ="stylesheet " type ="text/css " href =".. /styles.css ">
7
- < link rel ="stylesheet " type ="text/css " href =".. /react-joyride-compiled.css ">
6
+ < link rel ="stylesheet " type ="text/css " href ="./styles.css ">
7
+ < link rel ="stylesheet " type ="text/css " href ="./react-joyride-compiled.css ">
8
8
</ head >
9
9
< body >
10
10
< div id ="main ">
11
11
<!-- The react App will be rendered here -->
12
12
</ div >
13
13
14
- < script src ="app .js "> </ script >
14
+ < script src ="tutorial .js "> </ script >
15
15
</ body >
16
16
</ html >
Original file line number Diff line number Diff line change @@ -31495,7 +31495,7 @@ var receiveLibrary = function receiveLibrary(items) {
31495
31495
var fetchLibrary = function fetchLibrary(id) {
31496
31496
return function (dispatch) {
31497
31497
dispatch(requestLibrary());
31498
- return (0, _isomorphicFetch2.default)('/ library/js/' + id + '.json').then(function (response) {
31498
+ return (0, _isomorphicFetch2.default)('library/js/' + id + '.json').then(function (response) {
31499
31499
return response.json();
31500
31500
}).then(function (items) {
31501
31501
return dispatch(receiveLibrary(items));
Original file line number Diff line number Diff line change 51
51
"watchify" : " ^3.3.1"
52
52
},
53
53
"scripts" : {
54
- "start" : " watchify --extension=js -o docs/app.js src/index.js & watchify --extension=js -o docs/tutorial/app .js src/tutorial-index.js & http-server docs"
54
+ "start" : " watchify --extension=js -o docs/app.js src/index.js & watchify --extension=js -o docs/tutorial.js src/tutorial-index.js & http-server docs"
55
55
}
56
56
}
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ const receiveLibrary = (items) => {
28
28
const fetchLibrary = ( id ) => {
29
29
return dispatch => {
30
30
dispatch ( requestLibrary ( ) )
31
- return fetch ( `/ library/js/${ id } .json` )
31
+ return fetch ( `library/js/${ id } .json` )
32
32
. then ( response => response . json ( ) )
33
33
. then ( items => dispatch ( receiveLibrary ( items ) ) )
34
34
}
You can’t perform that action at this time.
0 commit comments