Skip to content
This repository was archived by the owner on Jul 19, 2019. It is now read-only.

Commit 156fdad

Browse files
committed
Use Babel to transform JSX
1 parent a8c9f89 commit 156fdad

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

public/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
<!-- Not present in the tutorial. Just for basic styling. -->
66
<link rel="stylesheet" href="css/base.css" />
77
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/0.13.0/react.js"></script>
8-
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/0.13.0/JSXTransformer.js"></script>
8+
<script src="https://cdnjs.cloudflare.com/ajax/libs/babel-core/5.6.15/browser.js"></script>
99
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
1010
<script src="https://cdnjs.cloudflare.com/ajax/libs/marked/0.3.2/marked.min.js"></script>
1111
</head>
1212
<body>
1313
<div id="content"></div>
14-
<script type="text/jsx;harmony=true" src="scripts/example.js"></script>
14+
<script type="text/babel" src="scripts/example.js"></script>
1515
</body>
1616
</html>

0 commit comments

Comments
 (0)