|
|
@ -41,13 +41,13 @@ For this tutorial, we're going to make it as easy as possible. Included in the s |
|
|
|
<meta charset="utf-8" /> |
|
|
|
<title>React Tutorial</title> |
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/{{site.react_version}}/react.js"></script> |
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/{{site.react_version}}/JSXTransformer.js"></script> |
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/babel-core/5.8.23/browser.min.js"></script> |
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> |
|
|
|
</head> |
|
|
|
<body> |
|
|
|
<div id="content"></div> |
|
|
|
<script type="text/jsx;harmony=true" src="scripts/example.js"></script> |
|
|
|
<script type="text/jsx;harmony=true"> |
|
|
|
<script type="text/babel" src="scripts/example.js"></script> |
|
|
|
<script type="text/babel"> |
|
|
|
// To get started with this tutorial running your own code, simply remove |
|
|
|
// the script tag loading scripts/example.js and start writing code here. |
|
|
|
</script> |
|
|
@ -226,7 +226,7 @@ First, add the third-party library **marked** to your application. This is a Jav |
|
|
|
<meta charset="utf-8" /> |
|
|
|
<title>React Tutorial</title> |
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/{{site.react_version}}/react.js"></script> |
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/{{site.react_version}}/JSXTransformer.js"></script> |
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/babel-core/5.8.23/browser.min.js"></script> |
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> |
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/marked/0.3.2/marked.min.js"></script> |
|
|
|
</head> |
|
|
|