Skip to content

Commit 48d0a1d

Browse files
committed
updated deps
1 parent 2947a61 commit 48d0a1d

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

demo/app.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export default class App extends Component {
2626

2727
load(data) {
2828
const options = { headers: data.headers };
29-
fetch(data.url, options).then((xhr, content) => {
29+
fetch(data.url, options).then(res => res.text()).then((content) => {
3030
if (_.isObject(content) && _.isArray(content.files)) {
3131
this.setState({ content: content.files });
3232
} else {

index.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,9 @@
1414
<body>
1515
<div id='root'>
1616
</div>
17-
<script src="/node_modules/jquery/dist/jquery.js"></script>
18-
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
19-
<script src="/static/bundle.js"></script>
17+
<script src="/node_modules/jquery/dist/jquery.js"></script>
18+
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
19+
<script src="/static/vendor.bundle.js"></script>
20+
<script src="/static/app.bundle.js"></script>
2021
</body>
2122
</html>

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,13 @@
2929
"lang-map": "^0.4.0",
3030
"lodash": "^4.17.4",
3131
"parse-diff": "^0.4.0",
32-
"prismjs-package": "^0.7.26",
32+
"prismjs-package": "^0.7.27",
3333
"react": "^15.4.2",
3434
"react-dom": "^15.4.2"
3535
},
3636
"devDependencies": {
3737
"jquery": "^3.1.1",
3838
"react-bootstrap": "^0.30.7",
39-
"react-devpack": "^0.2.16"
39+
"react-devpack": "^0.3.2"
4040
}
4141
}

0 commit comments

Comments
 (0)