Skip to content

Commit 00c2d8f

Browse files
committed
Merge pull request reactjs#71 from zpao/use-babel
Use Babel to transform JSX
2 parents 4491992 + 871b940 commit 00c2d8f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

public/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@
66
<!-- Not present in the tutorial. Just for basic styling. -->
77
<link rel="stylesheet" href="css/base.css" />
88
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/0.13.0/react.js"></script>
9-
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/0.13.0/JSXTransformer.js"></script>
9+
<script src="https://cdnjs.cloudflare.com/ajax/libs/babel-core/5.6.15/browser.js"></script>
1010
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
1111
<script src="https://cdnjs.cloudflare.com/ajax/libs/marked/0.3.2/marked.min.js"></script>
1212
</head>
1313
<body>
1414
<div id="content"></div>
15-
<script type="text/jsx;harmony=true" src="scripts/example.js"></script>
16-
<script type="text/jsx;harmony=true">
15+
<script type="text/babel" src="scripts/example.js"></script>
16+
<script type="text/babel">
1717
// To get started with this tutorial running your own code, simply remove
1818
// the script tag loading scripts/example.js and start writing code here.
1919
</script>

0 commit comments

Comments
 (0)