Skip to content

Commit 4a4382f

Browse files
committed
Update CDN links for React v15
1 parent 0f644ea commit 4a4382f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

example/index.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,9 @@
5252
</style>
5353
</head>
5454
<body>
55-
<script src="//cdnjs.cloudflare.com/ajax/libs/react/0.14.0/react.min.js"></script>
56-
<script src="//cdnjs.cloudflare.com/ajax/libs/react/0.14.0/react-dom.min.js"></script>
55+
<div id="container"></div>
56+
<script src="//fb.me/react-15.0.0.js"></script>
57+
<script src="//fb.me/react-dom-15.0.0.js"></script>
5758
<script src="//cdnjs.cloudflare.com/ajax/libs/babel-core/5.8.29/browser.min.js"></script>
5859
<script src="../dist/react-draggable.js"></script>
5960
<script type="text/babel">
@@ -166,7 +167,7 @@ <h1>React Draggable</h1>
166167
}
167168
});
168169

169-
React.render(<App/>, document.body);
170+
ReactDOM.render(<App/>, document.getElementById('container'));
170171
</script>
171172
</body>
172173
</html>

0 commit comments

Comments
 (0)