Skip to content

Commit

Permalink
Use unpkg instead of npmcdn (reactjs#157)
Browse files Browse the repository at this point in the history
npmcdn.com is moving to unpkg.com and these links will eventually switch to 301. Better to switch to unpkg right away.

https://twitter.com/mjackson/status/770424625754939394
  • Loading branch information
filipdanic authored and zpao committed Aug 30, 2016
1 parent 7d0728e commit 35b5c0c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
<title>React Tutorial</title>
<!-- Not present in the tutorial. Just for basic styling. -->
<link rel="stylesheet" href="css/base.css" />
<script src="https://npmcdn.com/[email protected]/dist/react.js"></script>
<script src="https://npmcdn.com/[email protected]/dist/react-dom.js"></script>
<script src="https://npmcdn.com/[email protected]/browser.min.js"></script>
<script src="https://npmcdn.com/[email protected]/dist/jquery.min.js"></script>
<script src="https://npmcdn.com/[email protected]/dist/remarkable.min.js"></script>
<script src="https://unpkg.com/[email protected]/dist/react.js"></script>
<script src="https://unpkg.com/[email protected]/dist/react-dom.js"></script>
<script src="https://unpkg.com/[email protected]/browser.min.js"></script>
<script src="https://unpkg.com/[email protected]/dist/jquery.min.js"></script>
<script src="https://unpkg.com/[email protected]/dist/remarkable.min.js"></script>
</head>
<body>
<div id="content"></div>
Expand Down

0 comments on commit 35b5c0c

Please sign in to comment.